projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
20a164b
)
mac80211: allow scans in access point mode (for site survey)
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 3 Oct 2012 19:13:20 +0000
(19:13 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 3 Oct 2012 19:13:20 +0000
(19:13 +0000)
SVN-Revision: 33613
package/mac80211/patches/310-ap_scan.patch
[new file with mode: 0644]
patch
|
blob
package/mac80211/patches/520-mac80211_cur_txpower.patch
patch
|
blob
|
history
package/mac80211/patches/524-mac80211_configure_antenna_gain.patch
patch
|
blob
|
history
package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
patch
|
blob
|
history
diff --git a/package/mac80211/patches/310-ap_scan.patch
b/package/mac80211/patches/310-ap_scan.patch
new file mode 100644
(file)
index 0000000..
67a9dca
--- /dev/null
+++ b/
package/mac80211/patches/310-ap_scan.patch
@@ -0,0
+1,11
@@
+--- a/net/mac80211/cfg.c
++++ b/net/mac80211/cfg.c
+@@ -1796,8 +1796,6 @@ static int ieee80211_scan(struct wiphy *
+ * beaconing hasn't been configured yet
+ */
+ case NL80211_IFTYPE_AP:
+- if (sdata->u.ap.beacon)
+- return -EOPNOTSUPP;
+ break;
+ default:
+ return -EOPNOTSUPP;
diff --git
a/package/mac80211/patches/520-mac80211_cur_txpower.patch
b/package/mac80211/patches/520-mac80211_cur_txpower.patch
index 1b7348c08b337ebcbe7b42680f497bdf6bc8e0dc..54f2e5040be7d34eeee88c5bf669d5011f711231 100644
(file)
--- a/
package/mac80211/patches/520-mac80211_cur_txpower.patch
+++ b/
package/mac80211/patches/520-mac80211_cur_txpower.patch
@@
-10,7
+10,7
@@
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
-@@ -196
9,7 +1969
,7 @@ static int ieee80211_get_tx_power(struct
+@@ -196
7,7 +1967
,7 @@ static int ieee80211_get_tx_power(struct
{
struct ieee80211_local *local = wiphy_priv(wiphy);
{
struct ieee80211_local *local = wiphy_priv(wiphy);
diff --git
a/package/mac80211/patches/524-mac80211_configure_antenna_gain.patch
b/package/mac80211/patches/524-mac80211_configure_antenna_gain.patch
index 9bf7fc94b25b024256ef3fc4c428d4531574e05a..b2870a8aa10215087db17315e9f9d919b0dff7c1 100644
(file)
--- a/
package/mac80211/patches/524-mac80211_configure_antenna_gain.patch
+++ b/
package/mac80211/patches/524-mac80211_configure_antenna_gain.patch
@@
-131,7
+131,7
@@
u32 tx_ant, rx_ant;
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
u32 tx_ant, rx_ant;
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
-@@ -198
6,6 +1986
,19 @@ static int ieee80211_get_tx_power(struct
+@@ -198
4,6 +1984
,19 @@ static int ieee80211_get_tx_power(struct
return 0;
}
return 0;
}
@@
-151,7
+151,7
@@
static int ieee80211_set_wds_peer(struct wiphy *wiphy, struct net_device *dev,
const u8 *addr)
{
static int ieee80211_set_wds_peer(struct wiphy *wiphy, struct net_device *dev,
const u8 *addr)
{
-@@ -308
4,6 +3097
,7 @@ struct cfg80211_ops mac80211_config_ops
+@@ -308
2,6 +3095
,7 @@ struct cfg80211_ops mac80211_config_ops
.set_wiphy_params = ieee80211_set_wiphy_params,
.set_tx_power = ieee80211_set_tx_power,
.get_tx_power = ieee80211_get_tx_power,
.set_wiphy_params = ieee80211_set_wiphy_params,
.set_tx_power = ieee80211_set_tx_power,
.get_tx_power = ieee80211_get_tx_power,
diff --git
a/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
b/package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
index 01377fed61663ad247a29052c55412adb2f7b83c..53889d19cab1f03c3d4b76da9ce0fa494d021b70 100644
(file)
--- a/
package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
+++ b/
package/mac80211/patches/550-mac80211_optimize_mcs_rate_mask.patch
@@
-11,7
+11,7
@@
union {
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
union {
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
-@@ -216
2,9 +2162
,20 @@ static int ieee80211_set_bitrate_mask(st
+@@ -216
0,9 +2160
,20 @@ static int ieee80211_set_bitrate_mask(st
}
for (i = 0; i < IEEE80211_NUM_BANDS; i++) {
}
for (i = 0; i < IEEE80211_NUM_BANDS; i++) {