Lines Matching refs:mef_entry
3246 struct mwifiex_mef_entry *mef_entry) in mwifiex_set_auto_arp_mef_entry() argument
3254 mef_entry->mode = MEF_MODE_HOST_SLEEP; in mwifiex_set_auto_arp_mef_entry()
3255 mef_entry->action = MEF_ACTION_AUTO_ARP; in mwifiex_set_auto_arp_mef_entry()
3275 mef_entry->filter[filt_num].repeat = 1; in mwifiex_set_auto_arp_mef_entry()
3276 memcpy(mef_entry->filter[filt_num].byte_seq, in mwifiex_set_auto_arp_mef_entry()
3278 mef_entry->filter[filt_num]. in mwifiex_set_auto_arp_mef_entry()
3281 mef_entry->filter[filt_num].offset = 46; in mwifiex_set_auto_arp_mef_entry()
3282 mef_entry->filter[filt_num].filt_type = TYPE_EQ; in mwifiex_set_auto_arp_mef_entry()
3284 mef_entry->filter[filt_num].filt_action = in mwifiex_set_auto_arp_mef_entry()
3290 mef_entry->filter[filt_num].repeat = 1; 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()
3294 mef_entry->filter[filt_num].offset = 20; in mwifiex_set_auto_arp_mef_entry()
3295 mef_entry->filter[filt_num].filt_type = TYPE_EQ; in mwifiex_set_auto_arp_mef_entry()
3296 mef_entry->filter[filt_num].filt_action = TYPE_AND; in mwifiex_set_auto_arp_mef_entry()
3301 struct mwifiex_mef_entry *mef_entry, in mwifiex_set_wowlan_mef_entry() argument
3310 mef_entry->mode = MEF_MODE_HOST_SLEEP; in mwifiex_set_wowlan_mef_entry()
3311 mef_entry->action = MEF_ACTION_ALLOW_AND_WAKEUP_HOST; in mwifiex_set_wowlan_mef_entry()
3339 mef_entry->filter[filt_num].repeat = 1; in mwifiex_set_wowlan_mef_entry()
3340 mef_entry->filter[filt_num].offset = in mwifiex_set_wowlan_mef_entry()
3342 memcpy(mef_entry->filter[filt_num].byte_seq, byte_seq, in mwifiex_set_wowlan_mef_entry()
3344 mef_entry->filter[filt_num].filt_type = TYPE_EQ; in mwifiex_set_wowlan_mef_entry()
3350 mef_entry->filter[filt_num].filt_action = TYPE_AND; in mwifiex_set_wowlan_mef_entry()
3358 mef_entry->filter[filt_num].repeat = 16; 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()
3363 mef_entry->filter[filt_num].offset = 28; in mwifiex_set_wowlan_mef_entry()
3364 mef_entry->filter[filt_num].filt_type = TYPE_EQ; in mwifiex_set_wowlan_mef_entry()
3366 mef_entry->filter[filt_num].filt_action = TYPE_OR; in mwifiex_set_wowlan_mef_entry()
3369 mef_entry->filter[filt_num].repeat = 16; 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()
3374 mef_entry->filter[filt_num].offset = 56; in mwifiex_set_wowlan_mef_entry()
3375 mef_entry->filter[filt_num].filt_type = TYPE_EQ; in mwifiex_set_wowlan_mef_entry()
3376 mef_entry->filter[filt_num].filt_action = TYPE_OR; in mwifiex_set_wowlan_mef_entry()
3387 struct mwifiex_mef_entry *mef_entry; in mwifiex_set_mef_filter() local
3392 mef_entry = kcalloc(num_entries, sizeof(*mef_entry), GFP_KERNEL); in mwifiex_set_mef_filter()
3393 if (!mef_entry) in mwifiex_set_mef_filter()
3400 mef_cfg.mef_entry = mef_entry; in mwifiex_set_mef_filter()
3402 mwifiex_set_auto_arp_mef_entry(priv, &mef_entry[0]); in mwifiex_set_mef_filter()
3406 &mef_entry[1], wowlan); in mwifiex_set_mef_filter()
3421 kfree(mef_entry); in mwifiex_set_mef_filter()