Commit 2a3aeb44 authored by Johannes Berg's avatar Johannes Berg Committed by Wey-Yi Guy

iwlwifi: implement beacon interval change

When the beacon interval needs to be changed,
all we need to do is send updated timing to
the device.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent 27eafdda
...@@ -1797,9 +1797,8 @@ void iwl_bss_info_changed(struct ieee80211_hw *hw, ...@@ -1797,9 +1797,8 @@ void iwl_bss_info_changed(struct ieee80211_hw *hw,
priv->ibss_beacon = ieee80211_beacon_get(hw, vif); priv->ibss_beacon = ieee80211_beacon_get(hw, vif);
} }
if (changes & BSS_CHANGED_BEACON_INT) { if (changes & BSS_CHANGED_BEACON_INT && vif->type == NL80211_IFTYPE_AP)
/* TODO: in AP mode, do something to make this take effect */ iwl_send_rxon_timing(priv, ctx);
}
if (changes & BSS_CHANGED_BSSID) { if (changes & BSS_CHANGED_BSSID) {
IWL_DEBUG_MAC80211(priv, "BSSID %pM\n", bss_conf->bssid); IWL_DEBUG_MAC80211(priv, "BSSID %pM\n", bss_conf->bssid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment