提交 48d11dc3 编写于 作者: J Jahnavi Meher 提交者: John W. Linville

rsi: Changing opcode for sta mode according to changes in firmware

Signed-off-by: NJahnavi Meher <jahnavi.meher@redpinesignals.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 c83a4e51
...@@ -1083,7 +1083,7 @@ void rsi_inform_bss_status(struct rsi_common *common, ...@@ -1083,7 +1083,7 @@ void rsi_inform_bss_status(struct rsi_common *common,
{ {
if (status) { if (status) {
rsi_hal_send_sta_notify_frame(common, rsi_hal_send_sta_notify_frame(common,
NL80211_IFTYPE_STATION, RSI_IFTYPE_STATION,
STA_CONNECTED, STA_CONNECTED,
bssid, bssid,
qos_enable, qos_enable,
...@@ -1092,7 +1092,7 @@ void rsi_inform_bss_status(struct rsi_common *common, ...@@ -1092,7 +1092,7 @@ void rsi_inform_bss_status(struct rsi_common *common,
rsi_send_auto_rate_request(common); rsi_send_auto_rate_request(common);
} else { } else {
rsi_hal_send_sta_notify_frame(common, rsi_hal_send_sta_notify_frame(common,
NL80211_IFTYPE_STATION, RSI_IFTYPE_STATION,
STA_DISCONNECTED, STA_DISCONNECTED,
bssid, bssid,
qos_enable, qos_enable,
......
...@@ -73,6 +73,7 @@ ...@@ -73,6 +73,7 @@
#define RX_BA_INDICATION 1 #define RX_BA_INDICATION 1
#define RSI_TBL_SZ 40 #define RSI_TBL_SZ 40
#define MAX_RETRIES 8 #define MAX_RETRIES 8
#define RSI_IFTYPE_STATION 0
#define STD_RATE_MCS7 0x07 #define STD_RATE_MCS7 0x07
#define STD_RATE_MCS6 0x06 #define STD_RATE_MCS6 0x06
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册