summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rsi/rsi_mgmt.h
diff options
context:
space:
mode:
authorPrameela Rani Garnepudi <prameela.j04cs@gmail.com>2017-07-10 15:40:36 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-07-28 17:25:38 +0300
commit59e006dc77c4e2b48c4efbe9a46477c7e6f3ca6c (patch)
tree8c4a63ae6810a0cf9c8dc36afe5af1b97fbc210a /drivers/net/wireless/rsi/rsi_mgmt.h
parentdff80fc5fe4fa14299ee333fb37a7a7991b67c01 (diff)
downloadlinux-59e006dc77c4e2b48c4efbe9a46477c7e6f3ca6c.tar.xz
rsi: Update peer notify command frame
TX command frame peer notify is updated to use common descriptor structure. MPDU density value added to the frame. Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rsi/rsi_mgmt.h')
-rw-r--r--drivers/net/wireless/rsi/rsi_mgmt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/rsi/rsi_mgmt.h b/drivers/net/wireless/rsi/rsi_mgmt.h
index 3b4bd85e9c4e..d2fe9ee1e934 100644
--- a/drivers/net/wireless/rsi/rsi_mgmt.h
+++ b/drivers/net/wireless/rsi/rsi_mgmt.h
@@ -165,6 +165,8 @@
#define ALLOW_CONN_PEER_MGMT_WHILE_BUF_FULL BIT(5)
#define DISALLOW_BROADCAST_DATA BIT(6)
+#define RSI_MPDU_DENSITY 0x8
+
enum opmode {
STA_OPMODE = 1,
AP_OPMODE = 2
@@ -270,7 +272,7 @@ struct rsi_boot_params {
} __packed;
struct rsi_peer_notify {
- __le16 desc_word[8];
+ struct rsi_cmd_desc desc;
u8 mac_addr[6];
__le16 command;
__le16 mpdu_density;