Commit 82553d9b authored by Franky Lin's avatar Franky Lin Committed by Greg Kroah-Hartman

staging: brcm80211: remove fullmac module_param for packet filter feature

Use constant values for packet filter configuration
Reported-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Reviewed-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarFranky Lin <frankyl@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 818cf60e
...@@ -673,15 +673,6 @@ extern uint brcmf_arp_mode; ...@@ -673,15 +673,6 @@ extern uint brcmf_arp_mode;
/* ARP offload enable */ /* ARP offload enable */
extern uint brcmf_arp_enable; extern uint brcmf_arp_enable;
/* Pkt filte enable control */
extern uint brcmf_pkt_filter_enable;
/* Pkt filter init setup */
extern uint brcmf_pkt_filter_init;
/* Pkt filter mode control */
extern uint brcmf_master_mode;
/* Roaming mode control */ /* Roaming mode control */
extern uint brcmf_roam; extern uint brcmf_roam;
......
...@@ -865,15 +865,10 @@ int brcmf_c_preinit_ioctls(struct brcmf_pub *drvr) ...@@ -865,15 +865,10 @@ int brcmf_c_preinit_ioctls(struct brcmf_pub *drvr)
brcmf_c_arp_offload_enable(drvr, brcmf_arp_enable); brcmf_c_arp_offload_enable(drvr, brcmf_arp_enable);
/* Set up pkt filter */ /* Set up pkt filter */
if (brcmf_pkt_filter_enable) { for (i = 0; i < drvr->pktfilter_count; i++) {
for (i = 0; i < drvr->pktfilter_count; i++) { brcmf_c_pktfilter_offload_set(drvr, drvr->pktfilter[i]);
brcmf_c_pktfilter_offload_set(drvr, brcmf_c_pktfilter_offload_enable(drvr, drvr->pktfilter[i],
drvr->pktfilter[i]); 0, true);
brcmf_c_pktfilter_offload_enable(drvr,
drvr->pktfilter[i],
brcmf_pkt_filter_init,
brcmf_master_mode);
}
} }
brcmf_os_proto_unblock(drvr); brcmf_os_proto_unblock(drvr);
......
...@@ -98,18 +98,6 @@ module_param(brcmf_arp_mode, uint, 0); ...@@ -98,18 +98,6 @@ module_param(brcmf_arp_mode, uint, 0);
uint brcmf_arp_enable = true; uint brcmf_arp_enable = true;
module_param(brcmf_arp_enable, uint, 0); module_param(brcmf_arp_enable, uint, 0);
/* Global Pkt filter enable control */
uint brcmf_pkt_filter_enable = true;
module_param(brcmf_pkt_filter_enable, uint, 0);
/* Pkt filter init setup */
uint brcmf_pkt_filter_init;
module_param(brcmf_pkt_filter_init, uint, 0);
/* Pkt filter mode control */
uint brcmf_master_mode = true;
module_param(brcmf_master_mode, uint, 0);
/* Contorl fw roaming */ /* Contorl fw roaming */
uint brcmf_roam = 1; uint brcmf_roam = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment