| /OK3568_Linux_fs/kernel/drivers/net/ethernet/3com/ |
| H A D | typhoon.h | 206 #define TYPHOON_TSO_FIRST cpu_to_le16(0x1000) 207 #define TYPHOON_TSO_LAST cpu_to_le16(0x2000) 225 #define TYPHOON_IPSEC_GEN_IV cpu_to_le16(0x0000) 226 #define TYPHOON_IPSEC_USE_IV cpu_to_le16(0x0001) 273 #define TYPHOON_RX_FILTER_MASK cpu_to_le16(0x7fff) 274 #define TYPHOON_RX_FILTERED cpu_to_le16(0x8000) 276 #define TYPHOON_RX_OUTER_AH_GOOD cpu_to_le16(0x0001) 277 #define TYPHOON_RX_OUTER_ESP_GOOD cpu_to_le16(0x0002) 278 #define TYPHOON_RX_INNER_AH_GOOD cpu_to_le16(0x0004) 279 #define TYPHOON_RX_INNER_ESP_GOOD cpu_to_le16(0x0008) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_cmd.c | 50 cmd->command = cpu_to_le16(HostCmd_CMD_RSSI_INFO); in mwifiex_cmd_802_11_rssi_info() 51 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_802_11_rssi_info) + in mwifiex_cmd_802_11_rssi_info() 53 cmd->params.rssi_info.action = cpu_to_le16(cmd_action); in mwifiex_cmd_802_11_rssi_info() 54 cmd->params.rssi_info.ndata = cpu_to_le16(priv->data_avg_factor); in mwifiex_cmd_802_11_rssi_info() 55 cmd->params.rssi_info.nbcn = cpu_to_le16(priv->bcn_avg_factor); in mwifiex_cmd_802_11_rssi_info() 89 cmd->command = cpu_to_le16(HostCmd_CMD_MAC_CONTROL); in mwifiex_cmd_mac_control() 91 cpu_to_le16(sizeof(struct host_cmd_ds_mac_control) + S_DS_GEN); in mwifiex_cmd_mac_control() 121 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_SNMP_MIB); in mwifiex_cmd_802_11_snmp_mib() 122 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_802_11_snmp_mib) in mwifiex_cmd_802_11_snmp_mib() 125 snmp_mib->oid = cpu_to_le16((u16)cmd_oid); in mwifiex_cmd_802_11_snmp_mib() [all …]
|
| H A D | uap_cmd.c | 175 bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP); in mwifiex_set_ht_params() 319 tlv_akmp->header.type = cpu_to_le16(TLV_TYPE_UAP_AKMP); in mwifiex_uap_bss_wpa() 320 tlv_akmp->header.len = cpu_to_le16(sizeof(struct host_cmd_tlv_akmp) - in mwifiex_uap_bss_wpa() 322 tlv_akmp->key_mgmt_operation = cpu_to_le16(bss_cfg->key_mgmt_operation); in mwifiex_uap_bss_wpa() 323 tlv_akmp->key_mgmt = cpu_to_le16(bss_cfg->key_mgmt); in mwifiex_uap_bss_wpa() 329 pwk_cipher->header.type = cpu_to_le16(TLV_TYPE_PWK_CIPHER); in mwifiex_uap_bss_wpa() 331 cpu_to_le16(sizeof(struct host_cmd_tlv_pwk_cipher) - in mwifiex_uap_bss_wpa() 333 pwk_cipher->proto = cpu_to_le16(PROTOCOL_WPA); in mwifiex_uap_bss_wpa() 341 pwk_cipher->header.type = cpu_to_le16(TLV_TYPE_PWK_CIPHER); in mwifiex_uap_bss_wpa() 343 cpu_to_le16(sizeof(struct host_cmd_tlv_pwk_cipher) - in mwifiex_uap_bss_wpa() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rsi/ |
| H A D | rsi_91x_mgmt.c | 25 .magic_number = cpu_to_le16(0x5aa5), 36 .pll_reg_1 = cpu_to_le16((TA_PLL_N_VAL_20 << 8)| 38 .pll_reg_2 = cpu_to_le16(TA_PLL_P_VAL_20), 41 .pll_reg_1 = cpu_to_le16((PLL960_P_VAL_20 << 8)| 43 .pll_reg_2 = cpu_to_le16(PLL960_M_VAL_20), 47 .pll_reg = cpu_to_le16(0x9f0), 51 .switch_clk_info = cpu_to_le16(0xb), 52 .bbp_lmac_clk_reg_val = cpu_to_le16(0x111), 53 .umac_clock_reg_config = cpu_to_le16(0x48), 54 .qspi_uart_clock_reg_config = cpu_to_le16(0x1211) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/usb/GobiNet/ |
| H A D | QMI.c | 336 put_unaligned(cpu_to_le16(buffSize - 1), &pQMUXHeader->mLength); in FillQMUX() 522 put_unaligned(cpu_to_le16(0x0022), (u16 *)(pBuffer + sizeof( sQMUX ) + 2)); in QMICTLGetClientIDReq() 524 put_unaligned(cpu_to_le16(0x0004), (u16 *)(pBuffer + sizeof( sQMUX ) + 4)); in QMICTLGetClientIDReq() 528 put_unaligned(cpu_to_le16(0x0001), (u16 *)(pBuffer + sizeof( sQMUX ) + 7)); in QMICTLGetClientIDReq() 573 put_unaligned( cpu_to_le16(0x0023), (u16 *)(pBuffer + sizeof( sQMUX ) + 2) ); in QMICTLReleaseClientIDReq() 575 put_unaligned( cpu_to_le16(0x0005), (u16 *)(pBuffer + sizeof( sQMUX ) + 4) ); in QMICTLReleaseClientIDReq() 579 put_unaligned( cpu_to_le16(0x0002), (u16 *)(pBuffer + sizeof( sQMUX ) + 7)); in QMICTLReleaseClientIDReq() 581 put_unaligned(cpu_to_le16(clientID), (u16 *)(pBuffer + sizeof( sQMUX ) + 9)); in QMICTLReleaseClientIDReq() 621 put_unaligned( cpu_to_le16(0x0021), (u16 *)(pBuffer + sizeof( sQMUX ) + 2) ); in QMICTLReadyReq() 623 put_unaligned( cpu_to_le16(0x0000), (u16 *)(pBuffer + sizeof( sQMUX ) + 4) ); in QMICTLReadyReq() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8712/ |
| H A D | wifi.h | 142 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_); \ 145 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) 148 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)); \ 152 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_); \ 155 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) 158 *(__le16 *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)); \ 167 *(__le16 *)(pbuf) |= cpu_to_le16(_MORE_FRAG_); \ 170 #define GetMFrag(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_MORE_FRAG_)) != 0) 173 *(__le16 *)(pbuf) &= (~cpu_to_le16(_MORE_FRAG_)); \ 177 *(__le16 *)(pbuf) |= cpu_to_le16(_RETRY_); \ [all …]
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | cifssmb.c | 554 cpu_to_le16(CIFS_CRYPTO_KEY_SIZE)) { in decode_lanman_negprot_rsp() 631 pSMB->ByteCount = cpu_to_le16(count); in CIFSSMBNegotiate() 877 pSMB->MaxParameterCount = cpu_to_le16(2); in CIFSPOSIXDelFile() 890 pRqD->type = cpu_to_le16(type); in CIFSPOSIXDelFile() 891 pSMB->ParameterOffset = cpu_to_le16(param_offset); in CIFSPOSIXDelFile() 892 pSMB->DataOffset = cpu_to_le16(offset); in CIFSPOSIXDelFile() 895 pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); in CIFSPOSIXDelFile() 898 pSMB->DataCount = cpu_to_le16(sizeof(struct unlink_psx_rq)); in CIFSPOSIXDelFile() 899 pSMB->TotalDataCount = cpu_to_le16(sizeof(struct unlink_psx_rq)); in CIFSPOSIXDelFile() 900 pSMB->ParameterCount = cpu_to_le16(params); in CIFSPOSIXDelFile() [all …]
|
| H A D | cifs_unicode.c | 375 dest_char = cpu_to_le16(UNI_COLON); in convert_to_sfu_char() 378 dest_char = cpu_to_le16(UNI_ASTERISK); in convert_to_sfu_char() 381 dest_char = cpu_to_le16(UNI_QUESTION); in convert_to_sfu_char() 384 dest_char = cpu_to_le16(UNI_LESSTHAN); in convert_to_sfu_char() 387 dest_char = cpu_to_le16(UNI_GRTRTHAN); in convert_to_sfu_char() 390 dest_char = cpu_to_le16(UNI_PIPE); in convert_to_sfu_char() 404 dest_char = cpu_to_le16(src_char + 0xF000); in convert_to_sfm_char() 409 dest_char = cpu_to_le16(SFM_COLON); in convert_to_sfm_char() 412 dest_char = cpu_to_le16(SFM_DOUBLEQUOTE); in convert_to_sfm_char() 415 dest_char = cpu_to_le16(SFM_ASTERISK); in convert_to_sfm_char() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/include/ |
| H A D | wifi.h | 115 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_) 117 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) 120 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)) 123 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_) 125 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) 128 *(__le16 *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)) 133 *(__le16 *)(pbuf) |= cpu_to_le16(_MORE_FRAG_) 135 #define GetMFrag(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_MORE_FRAG_)) != 0) 138 *(__le16 *)(pbuf) &= (~cpu_to_le16(_MORE_FRAG_)) 141 *(__le16 *)(pbuf) |= cpu_to_le16(_RETRY_) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas/ |
| H A D | cmd.c | 96 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_update_hw_spec() 194 cmd_config.hdr.size = cpu_to_le16(sizeof(cmd_config)); in lbs_host_sleep_cfg() 237 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_set_ps_mode() 238 cmd.action = cpu_to_le16(cmd_action); in lbs_set_ps_mode() 242 cmd.multipledtim = cpu_to_le16(1); /* Default DTIM multiple */ in lbs_set_ps_mode() 272 cmd.error = cpu_to_le16(sp->sp_error); in lbs_cmd_802_11_sleep_params() 273 cmd.offset = cpu_to_le16(sp->sp_offset); in lbs_cmd_802_11_sleep_params() 274 cmd.stabletime = cpu_to_le16(sp->sp_stabletime); in lbs_cmd_802_11_sleep_params() 277 cmd.reserved = cpu_to_le16(sp->sp_reserved); in lbs_cmd_802_11_sleep_params() 279 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_cmd_802_11_sleep_params() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/monitor/ |
| H A D | rtw_radiotap.c | 43 #define __le16_encode_bits(v, field) cpu_to_le16(__encode_bits(16, v, field)) 383 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 385 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 389 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 392 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 397 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 402 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 513 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 514 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 518 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/monitor/ |
| H A D | rtw_radiotap.c | 43 #define __le16_encode_bits(v, field) cpu_to_le16(__encode_bits(16, v, field)) 383 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 385 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 389 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 392 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 397 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 402 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 513 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 514 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 518 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() [all …]
|
| /OK3568_Linux_fs/kernel/include/soc/fsl/ |
| H A D | dpaa2-fd.h | 229 fd->simple.format_offset &= cpu_to_le16(~FD_OFFSET_MASK); in dpaa2_fd_set_offset() 230 fd->simple.format_offset |= cpu_to_le16(offset); in dpaa2_fd_set_offset() 255 cpu_to_le16(~(FD_FORMAT_MASK << FD_FORMAT_SHIFT)); in dpaa2_fd_set_format() 256 fd->simple.format_offset |= cpu_to_le16(format << FD_FORMAT_SHIFT); in dpaa2_fd_set_format() 277 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK)); in dpaa2_fd_set_bpid() 278 fd->simple.bpid |= cpu_to_le16(bpid); in dpaa2_fd_set_bpid() 373 sg->format_offset &= cpu_to_le16(~SG_OFFSET_MASK); in dpaa2_sg_set_offset() 374 sg->format_offset |= cpu_to_le16(offset); in dpaa2_sg_set_offset() 398 sg->format_offset &= cpu_to_le16(~(SG_FORMAT_MASK << SG_FORMAT_SHIFT)); in dpaa2_sg_set_format() 399 sg->format_offset |= cpu_to_le16(format << SG_FORMAT_SHIFT); in dpaa2_sg_set_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/p54/ |
| H A D | fwio.c | 108 if (exp_if[i].if_id == cpu_to_le16(IF_ID_LMAC)) in p54_parse_firmware() 207 hdr->flags = cpu_to_le16(hdr_flags); in p54_alloc_skb() 208 hdr->len = cpu_to_le16(payload_len); in p54_alloc_skb() 209 hdr->type = cpu_to_le16(type); in p54_alloc_skb() 239 eeprom_hdr->v1.offset = cpu_to_le16(offset); in p54_download_eeprom() 240 eeprom_hdr->v1.len = cpu_to_le16(len); in p54_download_eeprom() 243 eeprom_hdr->v2.len = cpu_to_le16(len); in p54_download_eeprom() 274 tim->entry[0] = cpu_to_le16(set ? (aid | 0x8000) : aid); in p54_update_beacon_tim() 358 setup->mac_mode = cpu_to_le16(mode); in p54_setup_mac() 367 setup->v1.max_rx = cpu_to_le16(priv->rx_mtu); in p54_setup_mac() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/greybus/ |
| H A D | audio_apbridgea.c | 19 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_set_config() 37 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_register_cport() 38 req.cport = cpu_to_le16(cportid); in gb_audio_apbridgea_register_cport() 58 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_unregister_cport() 59 req.cport = cpu_to_le16(cportid); in gb_audio_apbridgea_unregister_cport() 77 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_set_tx_data_size() 78 req.size = cpu_to_le16(size); in gb_audio_apbridgea_set_tx_data_size() 91 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_prepare_tx() 104 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_start_tx() 117 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_stop_tx() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/include/ |
| H A D | wifi.h | 202 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_) 204 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) 207 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)) 210 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_) 212 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) 215 *(__le16 *)(pbuf) &= (~cpu_to_le16(_FROM_DS_)) 220 *(__le16 *)(pbuf) |= cpu_to_le16(_MORE_FRAG_) 222 #define GetMFrag(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_MORE_FRAG_)) != 0) 225 *(__le16 *)(pbuf) &= (~cpu_to_le16(_MORE_FRAG_)) 228 *(__le16 *)(pbuf) |= cpu_to_le16(_RETRY_) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_sriov.c | 34 req.encap_async_event_target_id = cpu_to_le16(vf->fw_fid); in bnxt_hwrm_fwd_async_event_cmpl() 37 req.encap_async_event_target_id = cpu_to_le16(0xffff); in bnxt_hwrm_fwd_async_event_cmpl() 39 async_cmpl->type = cpu_to_le16(ASYNC_EVENT_CMPL_TYPE_HWRM_ASYNC_EVENT); in bnxt_hwrm_fwd_async_event_cmpl() 40 async_cmpl->event_id = cpu_to_le16(event_id); in bnxt_hwrm_fwd_async_event_cmpl() 96 req.fid = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_spoofchk() 115 req.fid = cpu_to_le16(vf->fw_fid); in bnxt_hwrm_func_qcfg_flags() 144 req.fid = cpu_to_le16(vf->fw_fid); in bnxt_hwrm_set_trusted_vf() 228 req.fid = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_mac() 265 req.fid = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_vlan() 266 req.dflt_vlan = cpu_to_le16(vlan_tag); in bnxt_set_vf_vlan() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/monitor/ |
| H A D | rtw_radiotap.c | 260 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 262 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 266 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 269 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 274 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 279 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 390 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 391 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 395 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() 396 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN); in rtw_fill_radiotap_hdr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/monitor/ |
| H A D | rtw_radiotap.c | 261 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 263 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 267 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 270 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 275 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 280 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 391 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 392 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 396 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() 397 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN); in rtw_fill_radiotap_hdr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/monitor/ |
| H A D | rtw_radiotap.c | 260 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 262 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 266 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 269 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 274 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 279 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 390 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 391 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 395 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() 396 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN); in rtw_fill_radiotap_hdr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/monitor/ |
| H A D | rtw_radiotap.c | 260 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 262 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 266 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 269 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 274 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 279 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 390 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 391 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 395 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() 396 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN); in rtw_fill_radiotap_hdr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/monitor/ |
| H A D | rtw_radiotap.c | 260 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 262 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 266 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 269 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 274 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 279 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 390 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 391 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 395 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() 396 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN); in rtw_fill_radiotap_hdr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/monitor/ |
| H A D | rtw_radiotap.c | 261 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 263 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 267 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 270 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 275 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 280 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 391 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 392 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 396 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() 397 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN); in rtw_fill_radiotap_hdr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/monitor/ |
| H A D | rtw_radiotap.c | 260 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 262 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 266 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 269 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 274 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 279 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 390 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 391 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 395 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() 396 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN); in rtw_fill_radiotap_hdr() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/monitor/ |
| H A D | rtw_radiotap.c | 260 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_2GHZ); in rtw_fill_radiotap_hdr() 262 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_5GHZ); in rtw_fill_radiotap_hdr() 266 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_CCK); in rtw_fill_radiotap_hdr() 269 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_OFDM); in rtw_fill_radiotap_hdr() 274 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_HALF); in rtw_fill_radiotap_hdr() 279 tmp_16bit |= cpu_to_le16(IEEE80211_CHAN_QUARTER); in rtw_fill_radiotap_hdr() 390 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN); in rtw_fill_radiotap_hdr() 391 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN); in rtw_fill_radiotap_hdr() 395 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_IS_LAST); in rtw_fill_radiotap_hdr() 396 tmp_16bit |= cpu_to_le16(IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN); in rtw_fill_radiotap_hdr() [all …]
|