Lines Matching refs:byte_seq
3209 mwifiex_is_pattern_supported(struct cfg80211_pkt_pattern *pat, s8 *byte_seq, in mwifiex_is_pattern_supported() argument
3218 memcpy(byte_seq + valid_byte_cnt, in mwifiex_is_pattern_supported()
3239 byte_seq[max_byte_seq] = valid_byte_cnt; in mwifiex_is_pattern_supported()
3276 memcpy(mef_entry->filter[filt_num].byte_seq, in mwifiex_set_auto_arp_mef_entry()
3279 byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] = in mwifiex_set_auto_arp_mef_entry()
3291 mef_entry->filter[filt_num].byte_seq[0] = 0x08; in mwifiex_set_auto_arp_mef_entry()
3292 mef_entry->filter[filt_num].byte_seq[1] = 0x06; in mwifiex_set_auto_arp_mef_entry()
3293 mef_entry->filter[filt_num].byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] = 2; in mwifiex_set_auto_arp_mef_entry()
3306 u8 byte_seq[MWIFIEX_MEF_MAX_BYTESEQ + 1]; in mwifiex_set_wowlan_mef_entry() local
3314 memset(byte_seq, 0, sizeof(byte_seq)); in mwifiex_set_wowlan_mef_entry()
3316 byte_seq, in mwifiex_set_wowlan_mef_entry()
3324 if (!(byte_seq[0] & 0x01) && in mwifiex_set_wowlan_mef_entry()
3325 (byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] == 1)) { in mwifiex_set_wowlan_mef_entry()
3328 } else if (is_broadcast_ether_addr(byte_seq)) { in mwifiex_set_wowlan_mef_entry()
3331 } else if ((!memcmp(byte_seq, ipv4_mc_mac, 2) && in mwifiex_set_wowlan_mef_entry()
3332 (byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] == 2)) || in mwifiex_set_wowlan_mef_entry()
3333 (!memcmp(byte_seq, ipv6_mc_mac, 3) && in mwifiex_set_wowlan_mef_entry()
3334 (byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] == 3))) { in mwifiex_set_wowlan_mef_entry()
3342 memcpy(mef_entry->filter[filt_num].byte_seq, byte_seq, in mwifiex_set_wowlan_mef_entry()
3343 sizeof(byte_seq)); in mwifiex_set_wowlan_mef_entry()
3359 memcpy(mef_entry->filter[filt_num].byte_seq, priv->curr_addr, in mwifiex_set_wowlan_mef_entry()
3361 mef_entry->filter[filt_num].byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] = in mwifiex_set_wowlan_mef_entry()
3370 memcpy(mef_entry->filter[filt_num].byte_seq, priv->curr_addr, in mwifiex_set_wowlan_mef_entry()
3372 mef_entry->filter[filt_num].byte_seq[MWIFIEX_MEF_MAX_BYTESEQ] = in mwifiex_set_wowlan_mef_entry()
3602 static int mwifiex_get_coalesce_pkt_type(u8 *byte_seq) in mwifiex_get_coalesce_pkt_type() argument
3608 if ((byte_seq[0] & 0x01) && in mwifiex_get_coalesce_pkt_type()
3609 (byte_seq[MWIFIEX_COALESCE_MAX_BYTESEQ] == 1)) in mwifiex_get_coalesce_pkt_type()
3611 else if (!memcmp(byte_seq, bc_mac, 4)) in mwifiex_get_coalesce_pkt_type()
3613 else if ((!memcmp(byte_seq, ipv4_mc_mac, 2) && in mwifiex_get_coalesce_pkt_type()
3614 byte_seq[MWIFIEX_COALESCE_MAX_BYTESEQ] == 2) || in mwifiex_get_coalesce_pkt_type()
3615 (!memcmp(byte_seq, ipv6_mc_mac, 3) && in mwifiex_get_coalesce_pkt_type()
3616 byte_seq[MWIFIEX_COALESCE_MAX_BYTESEQ] == 3)) in mwifiex_get_coalesce_pkt_type()
3627 u8 byte_seq[MWIFIEX_COALESCE_MAX_BYTESEQ + 1]; in mwifiex_fill_coalesce_rule_info() local
3636 memset(byte_seq, 0, sizeof(byte_seq)); in mwifiex_fill_coalesce_rule_info()
3638 byte_seq, in mwifiex_fill_coalesce_rule_info()
3648 pkt_type = mwifiex_get_coalesce_pkt_type(byte_seq); in mwifiex_fill_coalesce_rule_info()
3664 param->operand_len = byte_seq[MWIFIEX_COALESCE_MAX_BYTESEQ]; in mwifiex_fill_coalesce_rule_info()
3665 memcpy(param->operand_byte_stream, byte_seq, in mwifiex_fill_coalesce_rule_info()