mac80211: share STA information with driver
This patch changes mac80211 to share some more data about stations with drivers. Should help iwlwifi and ath9k when they get around to updating, and might also help with implementing rate control algorithms without internals. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
8aa21e6fd7
commit
17741cdc26
@@ -804,7 +804,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
|
||||
netif_tx_stop_all_queues(sdata->dev);
|
||||
netif_carrier_off(sdata->dev);
|
||||
|
||||
ieee80211_sta_tear_down_BA_sessions(sdata, sta->addr);
|
||||
ieee80211_sta_tear_down_BA_sessions(sdata, sta->sta.addr);
|
||||
|
||||
if (self_disconnected) {
|
||||
if (deauth)
|
||||
@@ -1507,7 +1507,8 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata,
|
||||
printk(KERN_DEBUG "%s: updated supp_rates set "
|
||||
"for %s based on beacon info (0x%llx | "
|
||||
"0x%llx -> 0x%llx)\n",
|
||||
sdata->dev->name, print_mac(mac, sta->addr),
|
||||
sdata->dev->name,
|
||||
print_mac(mac, sta->sta.addr),
|
||||
(unsigned long long) prev_rates,
|
||||
(unsigned long long) supp_rates,
|
||||
(unsigned long long) sta->supp_rates[band]);
|
||||
|
Reference in New Issue
Block a user