Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 301011
b: refs/heads/master
c: 1dae27f
h: refs/heads/master
i:
  301009: b628da1
  301007: 09c5642
v: v3
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Apr 16, 2012
1 parent 55b6f2c commit 8fe2dce
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f11bbfd87dc7c7c09e6aac7cd17c980ba64d6589
refs/heads/master: 1dae27f84baa37b76014b348985089d22d90cccc
3 changes: 3 additions & 0 deletions trunk/include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -3801,4 +3801,7 @@ int ieee80211_add_srates_ie(struct ieee80211_vif *vif,

int ieee80211_add_ext_srates_ie(struct ieee80211_vif *vif,
struct sk_buff *skb, bool need_basic);

int ieee80211_ave_rssi(struct ieee80211_vif *vif);

#endif /* MAC80211_H */
8 changes: 8 additions & 0 deletions trunk/net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1793,3 +1793,11 @@ int ieee80211_add_ext_srates_ie(struct ieee80211_vif *vif,
}
return 0;
}

int ieee80211_ave_rssi(struct ieee80211_vif *vif)
{
struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;

return ifmgd->ave_beacon_signal;
}

0 comments on commit 8fe2dce

Please sign in to comment.