Lines Matching refs:mgmt_frame
525 struct rsi_mac_frame *mgmt_frame; in rsi_send_aggregation_params_frame() local
537 mgmt_frame = (struct rsi_mac_frame *)skb->data; in rsi_send_aggregation_params_frame()
541 mgmt_frame->desc_word[0] = cpu_to_le16(RSI_WIFI_MGMT_Q << 12); in rsi_send_aggregation_params_frame()
542 mgmt_frame->desc_word[1] = cpu_to_le16(AMPDU_IND); in rsi_send_aggregation_params_frame()
545 mgmt_frame->desc_word[4] = cpu_to_le16(ssn); in rsi_send_aggregation_params_frame()
546 mgmt_frame->desc_word[5] = cpu_to_le16(buf_size); in rsi_send_aggregation_params_frame()
547 mgmt_frame->desc_word[7] = in rsi_send_aggregation_params_frame()
550 mgmt_frame->desc_word[4] = cpu_to_le16(ssn); in rsi_send_aggregation_params_frame()
551 mgmt_frame->desc_word[7] = cpu_to_le16(tid | in rsi_send_aggregation_params_frame()
556 mgmt_frame->desc_word[7] = cpu_to_le16(tid | in rsi_send_aggregation_params_frame()
560 mgmt_frame->desc_word[7] = cpu_to_le16(tid | in rsi_send_aggregation_params_frame()
581 struct rsi_mac_frame *mgmt_frame; in rsi_program_bb_rf() local
593 mgmt_frame = (struct rsi_mac_frame *)skb->data; in rsi_program_bb_rf()
595 mgmt_frame->desc_word[0] = cpu_to_le16(RSI_WIFI_MGMT_Q << 12); in rsi_program_bb_rf()
596 mgmt_frame->desc_word[1] = cpu_to_le16(BBP_PROG_IN_TA); in rsi_program_bb_rf()
597 mgmt_frame->desc_word[4] = cpu_to_le16(common->endpoint); in rsi_program_bb_rf()
600 mgmt_frame->desc_word[7] = cpu_to_le16(RF_RESET_ENABLE); in rsi_program_bb_rf()
606 mgmt_frame->desc_word[7] |= cpu_to_le16(PUT_BBP_RESET | in rsi_program_bb_rf()
826 struct rsi_mac_frame *mgmt_frame; in rsi_send_reset_mac() local
838 mgmt_frame = (struct rsi_mac_frame *)skb->data; in rsi_send_reset_mac()
840 mgmt_frame->desc_word[0] = cpu_to_le16(RSI_WIFI_MGMT_Q << 12); in rsi_send_reset_mac()
841 mgmt_frame->desc_word[1] = cpu_to_le16(RESET_MAC_REQ); in rsi_send_reset_mac()
842 mgmt_frame->desc_word[4] = cpu_to_le16(RETRY_COUNT << 8); in rsi_send_reset_mac()
916 struct rsi_mac_frame *mgmt_frame; in rsi_set_channel() local
929 mgmt_frame = (struct rsi_mac_frame *)skb->data; in rsi_set_channel()
931 mgmt_frame->desc_word[0] = cpu_to_le16(RSI_WIFI_MGMT_Q << 12); in rsi_set_channel()
932 mgmt_frame->desc_word[1] = cpu_to_le16(SCAN_REQUEST); in rsi_set_channel()
933 mgmt_frame->desc_word[4] = cpu_to_le16(channel); in rsi_set_channel()
935 mgmt_frame->desc_word[7] = cpu_to_le16(PUT_BBP_RESET | in rsi_set_channel()
939 mgmt_frame->desc_word[5] = cpu_to_le16(0x01); in rsi_set_channel()
940 mgmt_frame->desc_word[6] = cpu_to_le16(0x12); in rsi_set_channel()
943 mgmt_frame->desc_word[5] |= cpu_to_le16(0x1 << 8); in rsi_set_channel()
1171 struct rsi_mac_frame *mgmt_frame; in rsi_eeprom_read() local
1184 mgmt_frame = (struct rsi_mac_frame *)skb->data; in rsi_eeprom_read()
1187 mgmt_frame->desc_word[1] = cpu_to_le16(EEPROM_READ_TYPE); in rsi_eeprom_read()
1188 mgmt_frame->desc_word[0] = cpu_to_le16(RSI_WIFI_MGMT_Q << 12); in rsi_eeprom_read()
1190 mgmt_frame->desc_word[3] = cpu_to_le16(ETH_ALEN + in rsi_eeprom_read()
1195 mgmt_frame->desc_word[4] = cpu_to_le16(WLAN_MAC_EEPROM_ADDR); in rsi_eeprom_read()
1212 struct rsi_mac_frame *mgmt_frame; in rsi_send_block_unblock_frame() local
1225 mgmt_frame = (struct rsi_mac_frame *)skb->data; in rsi_send_block_unblock_frame()
1227 mgmt_frame->desc_word[0] = cpu_to_le16(RSI_WIFI_MGMT_Q << 12); in rsi_send_block_unblock_frame()
1228 mgmt_frame->desc_word[1] = cpu_to_le16(BLOCK_HW_QUEUE); in rsi_send_block_unblock_frame()
1232 mgmt_frame->desc_word[4] = cpu_to_le16(0xf); in rsi_send_block_unblock_frame()
1235 mgmt_frame->desc_word[5] = cpu_to_le16(0xf); in rsi_send_block_unblock_frame()