1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

mac80211: fix antenna gain and add support for user-defined antenna gain configuration

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33585 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2012-09-28 18:29:09 +00:00
parent a53ee82639
commit 4efe9d56f1
4 changed files with 228 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
union {
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -2149,9 +2149,20 @@ static int ieee80211_set_bitrate_mask(st
@@ -2162,9 +2162,20 @@ static int ieee80211_set_bitrate_mask(st
}
for (i = 0; i < IEEE80211_NUM_BANDS; i++) {
@@ -34,7 +34,7 @@
return 0;
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -3719,7 +3719,7 @@ void ieee80211_send_bar(struct ieee80211
@@ -3721,7 +3721,7 @@ void ieee80211_send_bar(struct ieee80211
* (deprecated; this will be removed once drivers get updated to use
* rate_idx_mask)
* @rate_idx_mask: user-requested (legacy) rate mask
@@ -43,7 +43,7 @@
* @bss: whether this frame is sent out in AP or IBSS mode
*/
struct ieee80211_tx_rate_control {
@@ -3731,7 +3731,7 @@ struct ieee80211_tx_rate_control {
@@ -3733,7 +3733,7 @@ struct ieee80211_tx_rate_control {
bool rts, short_preamble;
u8 max_rate_idx;
u32 rate_idx_mask;