| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/ |
| H A D | rtw_vht.c | 280 u8 cur_ldpc_cap=0, cur_stbc_cap=0, cur_beamform_cap=0, bw_mode = 0; in update_sta_vht_info_apmode() local 287 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 290 psta->bw_mode = bw_mode; in update_sta_vht_info_apmode() 301 if (psta->bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 302 psta->bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 304 if (psta->bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() 308 } else if (psta->bw_mode >= CHANNEL_WIDTH_160) { in update_sta_vht_info_apmode() 467 if (target_bw != psta->bw_mode) { in rtw_process_vht_op_mode_notify() 468 if (target_bw <= (padapter->registrypriv.bw_mode >> 4)) { in rtw_process_vht_op_mode_notify() 470 psta->bw_mode = target_bw; in rtw_process_vht_op_mode_notify() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/ |
| H A D | rtw_vht.c | 288 u8 cur_ldpc_cap = 0, cur_stbc_cap = 0, bw_mode = 0; in update_sta_vht_info_apmode() local 296 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 299 psta->bw_mode = bw_mode; in update_sta_vht_info_apmode() 310 if (psta->bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 311 psta->bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 313 if (psta->bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() 317 } else if (psta->bw_mode >= CHANNEL_WIDTH_160) { in update_sta_vht_info_apmode() 489 if (target_bw != psta->bw_mode) { in rtw_process_vht_op_mode_notify() 494 psta->bw_mode = target_bw; in rtw_process_vht_op_mode_notify() 519 u8 ChnlWidth, center_freq, bw_mode, rf_type = 0; in rtw_build_vht_operation_ie() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_vht.c | 405 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 416 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 422 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 425 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 426 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 429 if (bw_mode != -1) in update_sta_vht_info_apmode() 430 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 442 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 443 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 445 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_vht.c | 406 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 417 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 423 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 426 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 427 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 430 if (bw_mode != -1) in update_sta_vht_info_apmode() 431 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 443 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 444 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 446 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_vht.c | 406 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 417 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 423 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 426 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 427 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 430 if (bw_mode != -1) in update_sta_vht_info_apmode() 431 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 443 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 444 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 446 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_vht.c | 410 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 421 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 427 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 430 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 431 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 434 if (bw_mode != -1) in update_sta_vht_info_apmode() 435 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 447 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 448 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 450 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_vht.c | 402 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 413 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 419 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 422 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 423 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 426 if (bw_mode != -1) in update_sta_vht_info_apmode() 427 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 439 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 440 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 442 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_vht.c | 402 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 413 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 419 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 422 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 423 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 426 if (bw_mode != -1) in update_sta_vht_info_apmode() 427 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 439 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 440 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 442 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/ |
| H A D | rtw_vht.c | 398 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 409 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 415 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 418 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 419 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 422 if (bw_mode != -1) in update_sta_vht_info_apmode() 423 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 435 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 436 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 438 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_vht.c | 402 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 413 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 419 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 422 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 423 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 426 if (bw_mode != -1) in update_sta_vht_info_apmode() 427 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 439 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 440 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 442 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_vht.c | 409 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 420 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 426 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 429 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 430 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 433 if (bw_mode != -1) in update_sta_vht_info_apmode() 434 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 446 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 447 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 449 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/ |
| H A D | rtw_vht.c | 298 u8 cur_ldpc_cap = 0, cur_stbc_cap = 0, bw_mode = 0; in update_sta_vht_info_apmode() local 305 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 308 psta->bw_mode = bw_mode; in update_sta_vht_info_apmode() 318 if (psta->bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 319 psta->bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 321 if (psta->bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() 325 } else if (psta->bw_mode >= CHANNEL_WIDTH_160) { in update_sta_vht_info_apmode() 537 if (target_bw != psta->bw_mode) { in rtw_process_vht_op_mode_notify() 542 psta->bw_mode = target_bw; in rtw_process_vht_op_mode_notify() 566 u8 ChnlWidth, center_freq, bw_mode, rf_type = 0; in rtw_build_vht_operation_ie() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_vht.c | 429 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 440 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 446 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 449 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 450 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 453 if (bw_mode != -1) in update_sta_vht_info_apmode() 454 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 466 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 467 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 469 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_vht.c | 429 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 440 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 446 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 449 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 450 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 453 if (bw_mode != -1) in update_sta_vht_info_apmode() 454 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 466 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 467 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 469 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_vht.c | 429 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 440 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 446 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 449 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 450 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 453 if (bw_mode != -1) in update_sta_vht_info_apmode() 454 psta->cmn.bw_mode = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 466 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 467 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 469 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_vht.c | 303 u8 cur_ldpc_cap = 0, cur_stbc_cap = 0, bw_mode = 0; in update_sta_vht_info_apmode() local 309 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 312 psta->cmn.bw_mode = bw_mode; in update_sta_vht_info_apmode() 323 if (psta->cmn.bw_mode > pmlmeext->cur_bwmode) in update_sta_vht_info_apmode() 324 psta->cmn.bw_mode = pmlmeext->cur_bwmode; in update_sta_vht_info_apmode() 326 if (psta->cmn.bw_mode == CHANNEL_WIDTH_80) { in update_sta_vht_info_apmode() 330 } else if (psta->cmn.bw_mode >= CHANNEL_WIDTH_160) { in update_sta_vht_info_apmode() 513 if (target_bw != psta->cmn.bw_mode) { in rtw_process_vht_op_mode_notify() 518 psta->cmn.bw_mode = target_bw; in rtw_process_vht_op_mode_notify() 544 u8 ChnlWidth, center_freq, bw_mode; in rtw_build_vht_operation_ie() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_vht.c | 577 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 588 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 594 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 597 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 598 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 601 if (bw_mode != -1) in update_sta_vht_info_apmode() 602 psta->phl_sta->chandef.bw = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 944 u8 ChnlWidth, center_freq, bw_mode; in rtw_build_vht_operation_ie() local 950 bw_mode = REGSTY_BW_5G(pregistrypriv); /* TODO: control op bw with other info */ in rtw_build_vht_operation_ie() 955 center_freq = rtw_phl_get_center_ch(channel, get_highest_bw_cap(bw_mode), CHAN_OFFSET_UPPER); in rtw_build_vht_operation_ie()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_vht.c | 577 s8 bw_mode = -1; in update_sta_vht_info_apmode() local 588 bw_mode = CHANNEL_WIDTH_80; /* only support up to 80MHz for now */ in update_sta_vht_info_apmode() 594 bw_mode = GET_VHT_OPERATING_MODE_FIELD_CHNL_WIDTH(&pvhtpriv_sta->vht_op_mode_notify); in update_sta_vht_info_apmode() 597 if (bw_mode < CHANNEL_WIDTH_80) in update_sta_vht_info_apmode() 598 bw_mode = CHANNEL_WIDTH_80; in update_sta_vht_info_apmode() 601 if (bw_mode != -1) in update_sta_vht_info_apmode() 602 psta->phl_sta->chandef.bw = bw_mode; /* update bw_mode only if get value from VHT IEs */ in update_sta_vht_info_apmode() 944 u8 ChnlWidth, center_freq, bw_mode; in rtw_build_vht_operation_ie() local 950 bw_mode = REGSTY_BW_5G(pregistrypriv); /* TODO: control op bw with other info */ in rtw_build_vht_operation_ie() 955 center_freq = rtw_phl_get_center_ch(channel, get_highest_bw_cap(bw_mode), CHAN_OFFSET_UPPER); in rtw_build_vht_operation_ie()
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A D | rtl2832.c | 409 u64 bw_mode, num, num2; in rtl2832_set_frontend() local 460 bw_mode = 48000000; in rtl2832_set_frontend() 464 bw_mode = 56000000; in rtl2832_set_frontend() 468 bw_mode = 64000000; in rtl2832_set_frontend() 490 num = div_u64(num, bw_mode); in rtl2832_set_frontend() 500 num = bw_mode << 20; in rtl2832_set_frontend()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/include/ |
| H A D | drv_types.h | 243 u8 bw_mode; member 467 #define BW_MODE_2G(bw_mode) ((bw_mode) & 0x0F) argument 468 #define BW_MODE_5G(bw_mode) ((bw_mode) >> 4) argument 469 #define REGSTY_BW_2G(regsty) BW_MODE_2G((regsty)->bw_mode) 470 #define REGSTY_BW_5G(regsty) BW_MODE_5G((regsty)->bw_mode)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtw88/ |
| H A D | main.c | 733 static u8 get_rate_id(u8 wireless_set, enum rtw_bandwidth bw_mode, u8 tx_num) in get_rate_id() argument 756 if (bw_mode == RTW_CHANNEL_WIDTH_40) { in get_rate_id() 787 if (bw_mode >= RTW_CHANNEL_WIDTH_80) { in get_rate_id() 900 u8 bw_mode; in rtw_update_sta_info() local 964 bw_mode = RTW_CHANNEL_WIDTH_80; in rtw_update_sta_info() 969 bw_mode = RTW_CHANNEL_WIDTH_40; in rtw_update_sta_info() 974 bw_mode = RTW_CHANNEL_WIDTH_20; in rtw_update_sta_info() 988 rate_id = get_rate_id(wireless_set, bw_mode, tx_num); in rtw_update_sta_info() 993 si->bw_mode = bw_mode; in rtw_update_sta_info()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/ |
| H A D | drv_types.h | 249 u8 bw_mode; member 498 #define BW_MODE_2G(bw_mode) ((bw_mode) & 0x0F) argument 499 #define BW_MODE_5G(bw_mode) ((bw_mode) >> 4) argument 501 #define REGSTY_BW_2G(regsty) BW_MODE_2G((regsty)->bw_mode) 502 #define REGSTY_BW_5G(regsty) BW_MODE_5G((regsty)->bw_mode)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/include/ |
| H A D | drv_types.h | 255 u8 bw_mode; member 505 #define BW_MODE_2G(bw_mode) ((bw_mode) & 0x0F) argument 506 #define BW_MODE_5G(bw_mode) ((bw_mode) >> 4) argument 508 #define REGSTY_BW_2G(regsty) BW_MODE_2G((regsty)->bw_mode) 509 #define REGSTY_BW_5G(regsty) BW_MODE_5G((regsty)->bw_mode)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/ |
| H A D | drv_types.h | 257 u8 bw_mode; member 530 #define BW_MODE_2G(bw_mode) ((bw_mode) & 0x0F) argument 531 #define BW_MODE_5G(bw_mode) ((bw_mode) >> 4) argument 533 #define REGSTY_BW_2G(regsty) BW_MODE_2G((regsty)->bw_mode) 534 #define REGSTY_BW_5G(regsty) BW_MODE_5G((regsty)->bw_mode)
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/ |
| H A D | drv_types.h | 249 u8 bw_mode; member 498 #define BW_MODE_2G(bw_mode) ((bw_mode) & 0x0F) argument 499 #define BW_MODE_5G(bw_mode) ((bw_mode) >> 4) argument 501 #define REGSTY_BW_2G(regsty) BW_MODE_2G((regsty)->bw_mode) 502 #define REGSTY_BW_5G(regsty) BW_MODE_5G((regsty)->bw_mode)
|