projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hostapd: update to 2012-09-10
[openwrt/svn-archive/archive.git]
/
package
/
hostapd
/
patches
/
540-dynamic_20_40_mhz.patch
diff --git
a/package/hostapd/patches/540-dynamic_20_40_mhz.patch
b/package/hostapd/patches/540-dynamic_20_40_mhz.patch
index 420fcc6bf6cce2e58ca81bb06fe37332f3c62139..d58358c083d5c1b1eb34133e7ad575179901469a 100644
(file)
--- a/
package/hostapd/patches/540-dynamic_20_40_mhz.patch
+++ b/
package/hostapd/patches/540-dynamic_20_40_mhz.patch
@@
-1,6
+1,6
@@
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
-@@ -
1957,6 +1957
,10 @@ static int hostapd_config_fill(struct ho
+@@ -
2495,6 +2495
,10 @@ static int hostapd_config_fill(struct ho
"ht_capab", line);
errors++;
}
"ht_capab", line);
errors++;
}
@@
-13,17
+13,17
@@
#endif /* CONFIG_IEEE80211N */
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
#endif /* CONFIG_IEEE80211N */
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
-@@ -
434,6 +434
,7 @@ struct hostapd_config {
+@@ -
501,6 +501
,7 @@ struct hostapd_config {
int ieee80211n;
int secondary_channel;
int require_ht;
+ int dynamic_ht40;
int ieee80211n;
int secondary_channel;
int require_ht;
+ int dynamic_ht40;
-
}
;
-
-
+
u32 vht_capab
;
+ int ieee80211ac;
+ int require_vht;
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
-@@ -2
1,6 +21
,7 @@
+@@ -2
2,6 +22
,7 @@
#include "beacon.h"
#include "iapp.h"
#include "ieee802_1x.h"
#include "beacon.h"
#include "iapp.h"
#include "ieee802_1x.h"
@@
-31,7
+31,7
@@
#include "ieee802_11_auth.h"
#include "vlan_init.h"
#include "wpa_auth.h"
#include "ieee802_11_auth.h"
#include "vlan_init.h"
#include "wpa_auth.h"
-@@ -3
17,6 +318
,7 @@ static void hostapd_cleanup_iface_pre(st
+@@ -3
23,6 +324
,7 @@ static void hostapd_cleanup_iface_pre(st
static void hostapd_cleanup_iface_partial(struct hostapd_iface *iface)
{
static void hostapd_cleanup_iface_partial(struct hostapd_iface *iface)
{
@@
-41,7
+41,7
@@
os_free(iface->current_rates);
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
os_free(iface->current_rates);
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
-@@ -2
38,6 +238
,9 @@ struct hostapd_iface {
+@@ -2
51,6 +251
,9 @@ struct hostapd_iface {
/* Overlapping BSS information */
int olbc_ht;
/* Overlapping BSS information */
int olbc_ht;
@@
-50,10
+50,10
@@
+
u16 ht_op_mode;
void (*scan_cb)(struct hostapd_iface *iface);
+
u16 ht_op_mode;
void (*scan_cb)(struct hostapd_iface *iface);
-
+ };
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
-@@ -12
05,6 +1205
,9 @@ static void handle_beacon(struct hostapd
+@@ -12
20,6 +1220
,9 @@ static void handle_beacon(struct hostapd
sizeof(mgmt->u.beacon)), &elems,
0);
sizeof(mgmt->u.beacon)), &elems,
0);
@@
-65,9
+65,9
@@
--- a/src/ap/ieee802_11.h
+++ b/src/ap/ieee802_11.h
--- a/src/ap/ieee802_11.h
+++ b/src/ap/ieee802_11.h
-@@ -73,4 +73,17 @@ u8 * hostapd_eid_time_zone(struct hostap
- int hostapd_update_time_adv(struct hostapd_data *hapd);
+@@ -78,4 +78,17 @@ int hostapd_update_time_adv(struct hosta
void hostapd_client_poll_ok(struct hostapd_data *hapd, const u8 *addr);
void hostapd_client_poll_ok(struct hostapd_data *hapd, const u8 *addr);
+ u8 * hostapd_eid_bss_max_idle_period(struct hostapd_data *hapd, u8 *eid);
+#ifdef CONFIG_IEEE80211N
+void hostapd_trigger_20mhz(struct hostapd_iface *iface);
+#ifdef CONFIG_IEEE80211N
+void hostapd_trigger_20mhz(struct hostapd_iface *iface);