|
@@ -926,6 +926,8 @@ static int ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev,
|
|
*/
|
|
*/
|
|
sdata->control_port_protocol = params->crypto.control_port_ethertype;
|
|
sdata->control_port_protocol = params->crypto.control_port_ethertype;
|
|
sdata->control_port_no_encrypt = params->crypto.control_port_no_encrypt;
|
|
sdata->control_port_no_encrypt = params->crypto.control_port_no_encrypt;
|
|
|
|
+ sdata->control_port_over_nl80211 =
|
|
|
|
+ params->crypto.control_port_over_nl80211;
|
|
sdata->encrypt_headroom = ieee80211_cs_headroom(sdata->local,
|
|
sdata->encrypt_headroom = ieee80211_cs_headroom(sdata->local,
|
|
¶ms->crypto,
|
|
¶ms->crypto,
|
|
sdata->vif.type);
|
|
sdata->vif.type);
|
|
@@ -935,6 +937,8 @@ static int ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev,
|
|
params->crypto.control_port_ethertype;
|
|
params->crypto.control_port_ethertype;
|
|
vlan->control_port_no_encrypt =
|
|
vlan->control_port_no_encrypt =
|
|
params->crypto.control_port_no_encrypt;
|
|
params->crypto.control_port_no_encrypt;
|
|
|
|
+ vlan->control_port_over_nl80211 =
|
|
|
|
+ params->crypto.control_port_over_nl80211;
|
|
vlan->encrypt_headroom =
|
|
vlan->encrypt_headroom =
|
|
ieee80211_cs_headroom(sdata->local,
|
|
ieee80211_cs_headroom(sdata->local,
|
|
¶ms->crypto,
|
|
¶ms->crypto,
|
|
@@ -2020,6 +2024,8 @@ static int ieee80211_join_mesh(struct wiphy *wiphy, struct net_device *dev,
|
|
if (err)
|
|
if (err)
|
|
return err;
|
|
return err;
|
|
|
|
|
|
|
|
+ sdata->control_port_over_nl80211 = setup->control_port_over_nl80211;
|
|
|
|
+
|
|
/* can mesh use other SMPS modes? */
|
|
/* can mesh use other SMPS modes? */
|
|
sdata->smps_mode = IEEE80211_SMPS_OFF;
|
|
sdata->smps_mode = IEEE80211_SMPS_OFF;
|
|
sdata->needed_rx_chains = sdata->local->rx_chains;
|
|
sdata->needed_rx_chains = sdata->local->rx_chains;
|