]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: add dest ip to bcast filter configuration
authorEliad Peller <eliad@wizery.com>
Mon, 13 Jan 2014 17:07:09 +0000 (19:07 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:36 +0000 (22:23 +0200)
commiteabde7977c68f9fa2b9b8ce346ce9d5f7d98894a
tree0f99136e9a38bd9da58e73dfdf42a19c03f87171
parentfafa3b7d9128187190e49901af20190bd6705fb7
iwlwifi: mvm: add dest ip to bcast filter configuration

Add our ip as a new attribute to the bcast filtering
configuration (i.e. check the dest ip field of the
arp request).

Add bcast filter to pass incoming dhcp offer
broadcast frames as well (for sta vifs).

In order to support such dynamic configuration,
use the reserved1 field as a bitmap for driver internal
flags (which will indicate we want to configure the ip
in this attribute), and reconfigure the bcast
filtering on BSS_CHANGED_ARP_FILTER indication.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c