summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/919-wl18xx-align-event-mailbox-with-current-fw.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-03-18 18:55:54 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-03-18 18:55:54 +0000
commit531dc9fe42ce5baa4d6af991600606e418ea52ca (patch)
treec198b11fb053024a4a611b1c06eea2bbe2b7c65f /package/kernel/mac80211/patches/919-wl18xx-align-event-mailbox-with-current-fw.patch
parentaabce5cf6a31bf82c3df2328f60ca747c6f5b84f (diff)
downloadmtk-20170518-531dc9fe42ce5baa4d6af991600606e418ea52ca.zip
mtk-20170518-531dc9fe42ce5baa4d6af991600606e418ea52ca.tar.gz
mtk-20170518-531dc9fe42ce5baa4d6af991600606e418ea52ca.tar.bz2
add add new firmware support and additional fixes for wl18xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39947
Diffstat (limited to 'package/kernel/mac80211/patches/919-wl18xx-align-event-mailbox-with-current-fw.patch')
-rw-r--r--package/kernel/mac80211/patches/919-wl18xx-align-event-mailbox-with-current-fw.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/919-wl18xx-align-event-mailbox-with-current-fw.patch b/package/kernel/mac80211/patches/919-wl18xx-align-event-mailbox-with-current-fw.patch
new file mode 100644
index 0000000..95db58f
--- /dev/null
+++ b/package/kernel/mac80211/patches/919-wl18xx-align-event-mailbox-with-current-fw.patch
@@ -0,0 +1,52 @@
+From fde3f0a7f3112527a18e06e32efdd9a354c91b02 Mon Sep 17 00:00:00 2001
+From: Eliad Peller <eliad@wizery.com>
+Date: Tue, 18 Mar 2014 13:19:48 +0200
+Subject: [PATCH] wl18xx: align event mailbox with current fw
+
+Some fields are missing from the event mailbox
+struct definitions, which cause issues when
+trying to handle some events.
+
+Add the missing fields in order to align the
+struct size (without adding actual support
+for the new fields).
+
+Signed-off-by: Eliad Peller <eliad@wizery.com>
+---
+ drivers/net/wireless/ti/wl18xx/event.h | 20 ++++++++++++++++++++
+ 1 file changed, 20 insertions(+)
+
+diff --git a/drivers/net/wireless/ti/wl18xx/event.h b/drivers/net/wireless/ti/wl18xx/event.h
+index 398f3d2..a76e98e 100644
+--- a/drivers/net/wireless/ti/wl18xx/event.h
++++ b/drivers/net/wireless/ti/wl18xx/event.h
+@@ -68,6 +68,26 @@ struct wl18xx_event_mailbox {
+
+ /* bitmap of inactive stations (by HLID) */
+ __le32 inactive_sta_bitmap;
++
++ /* rx BA win size indicated by RX_BA_WIN_SIZE_CHANGE_EVENT_ID */
++ u8 rx_ba_role_id;
++ u8 rx_ba_link_id;
++ u8 rx_ba_win_size;
++ u8 padding;
++
++ /* smart config */
++ u8 sc_ssid_len;
++ u8 sc_pwd_len;
++ u8 sc_token_len;
++ u8 padding1;
++ u8 sc_ssid[32];
++ u8 sc_pwd[32];
++ u8 sc_token[32];
++
++ /* smart config sync channel */
++ u8 sc_sync_channel;
++ u8 sc_sync_band;
++ u8 padding2[2];
+ } __packed;
+
+ int wl18xx_wait_for_event(struct wl1271 *wl, enum wlcore_wait_event event,
+--
+1.8.5.2.229.g4448466.dirty
+