mirror of https://gitee.com/openkylin/linux.git
rsi: enable 80MHz clock by default
80MHz clock for device should be enabled by default in TX command frame radio capabilities. 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>
This commit is contained in:
parent
1be05eb5e4
commit
62dc108d5f
|
@ -325,8 +325,8 @@ static int rsi_load_radio_caps(struct rsi_common *common)
|
||||||
radio_caps->channel_num = common->channel;
|
radio_caps->channel_num = common->channel;
|
||||||
radio_caps->rf_model = RSI_RF_TYPE;
|
radio_caps->rf_model = RSI_RF_TYPE;
|
||||||
|
|
||||||
|
radio_caps->radio_cfg_info = RSI_LMAC_CLOCK_80MHZ;
|
||||||
if (common->channel_width == BW_40MHZ) {
|
if (common->channel_width == BW_40MHZ) {
|
||||||
radio_caps->radio_cfg_info = RSI_LMAC_CLOCK_80MHZ;
|
|
||||||
radio_caps->radio_cfg_info |= RSI_ENABLE_40MHZ;
|
radio_caps->radio_cfg_info |= RSI_ENABLE_40MHZ;
|
||||||
|
|
||||||
if (common->fsm_state == FSM_MAC_INIT_DONE) {
|
if (common->fsm_state == FSM_MAC_INIT_DONE) {
|
||||||
|
|
Loading…
Reference in New Issue