Lines Matching refs:cur_byte
800 static void wilc_hif_pack_sta_param(u8 *cur_byte, const u8 *mac, in wilc_hif_pack_sta_param() argument
803 ether_addr_copy(cur_byte, mac); in wilc_hif_pack_sta_param()
804 cur_byte += ETH_ALEN; in wilc_hif_pack_sta_param()
806 put_unaligned_le16(params->aid, cur_byte); in wilc_hif_pack_sta_param()
807 cur_byte += 2; in wilc_hif_pack_sta_param()
809 *cur_byte++ = params->supported_rates_len; in wilc_hif_pack_sta_param()
811 memcpy(cur_byte, params->supported_rates, in wilc_hif_pack_sta_param()
813 cur_byte += params->supported_rates_len; in wilc_hif_pack_sta_param()
816 *cur_byte++ = true; in wilc_hif_pack_sta_param()
817 memcpy(cur_byte, params->ht_capa, in wilc_hif_pack_sta_param()
820 *cur_byte++ = false; in wilc_hif_pack_sta_param()
822 cur_byte += sizeof(struct ieee80211_ht_cap); in wilc_hif_pack_sta_param()
824 put_unaligned_le16(params->sta_flags_mask, cur_byte); in wilc_hif_pack_sta_param()
825 cur_byte += 2; in wilc_hif_pack_sta_param()
826 put_unaligned_le16(params->sta_flags_set, cur_byte); in wilc_hif_pack_sta_param()
947 u8 *cur_byte; in handle_set_mcast_filter() local
956 cur_byte = wid.val; in handle_set_mcast_filter()
957 put_unaligned_le32(set_mc->enabled, cur_byte); in handle_set_mcast_filter()
958 cur_byte += 4; in handle_set_mcast_filter()
960 put_unaligned_le32(set_mc->cnt, cur_byte); in handle_set_mcast_filter()
961 cur_byte += 4; in handle_set_mcast_filter()
964 memcpy(cur_byte, set_mc->mc_list, set_mc->cnt * ETH_ALEN); in handle_set_mcast_filter()
1743 u8 *cur_byte; in wilc_add_beacon() local
1752 cur_byte = wid.val; in wilc_add_beacon()
1753 put_unaligned_le32(interval, cur_byte); in wilc_add_beacon()
1754 cur_byte += 4; in wilc_add_beacon()
1755 put_unaligned_le32(dtim_period, cur_byte); in wilc_add_beacon()
1756 cur_byte += 4; in wilc_add_beacon()
1757 put_unaligned_le32(params->head_len, cur_byte); in wilc_add_beacon()
1758 cur_byte += 4; in wilc_add_beacon()
1761 memcpy(cur_byte, params->head, params->head_len); in wilc_add_beacon()
1762 cur_byte += params->head_len; in wilc_add_beacon()
1764 put_unaligned_le32(params->tail_len, cur_byte); in wilc_add_beacon()
1765 cur_byte += 4; in wilc_add_beacon()
1768 memcpy(cur_byte, params->tail, params->tail_len); in wilc_add_beacon()
1802 u8 *cur_byte; in wilc_add_station() local
1811 cur_byte = wid.val; in wilc_add_station()
1812 wilc_hif_pack_sta_param(cur_byte, mac, params); in wilc_add_station()
1887 u8 *cur_byte; in wilc_edit_station() local
1896 cur_byte = wid.val; in wilc_edit_station()
1897 wilc_hif_pack_sta_param(cur_byte, mac, params); in wilc_edit_station()