rsi: Add support for antenna selection
RSI 9113 device supports single antenna for tx and rx. Support for using external is added. This can be configured from user space using iw. Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

szülő
8b36de8cf5
commit
4edbcd1aa7
@@ -141,6 +141,9 @@
|
||||
#define RSI_SUPP_FILTERS (FIF_ALLMULTI | FIF_PROBE_REQ |\
|
||||
FIF_BCN_PRBRESP_PROMISC)
|
||||
|
||||
#define ANTENNA_SEL_INT 0x02 /* RF_OUT_2 / Integerated */
|
||||
#define ANTENNA_SEL_UFL 0x03 /* RF_OUT_1 / U.FL */
|
||||
|
||||
/* Rx filter word definitions */
|
||||
#define PROMISCOUS_MODE BIT(0)
|
||||
#define ALLOW_DATA_ASSOC_PEER BIT(1)
|
||||
@@ -201,6 +204,7 @@ enum cmd_frame_type {
|
||||
BG_SCAN_PROBE_REQ,
|
||||
CW_MODE_REQ,
|
||||
PER_CMD_PKT,
|
||||
ANT_SEL_FRAME = 0x20,
|
||||
RADIO_PARAMS_UPDATE = 0x29
|
||||
};
|
||||
|
||||
@@ -326,4 +330,5 @@ int rsi_send_data_pkt(struct rsi_common *common, struct sk_buff *skb);
|
||||
int rsi_band_check(struct rsi_common *common);
|
||||
int rsi_send_rx_filter_frame(struct rsi_common *common, u16 rx_filter_word);
|
||||
int rsi_send_radio_params_update(struct rsi_common *common);
|
||||
int rsi_set_antenna(struct rsi_common *common, u8 antenna);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user