export CONFIG_IWLWIFI=m
export CONFIG_IWLDVM=m
+export CONFIG_IWLMVM=m
export CONFIG_IWLWIFI_P2P=y
# export CONFIG_IWLWIFI_DEBUG=y
# export CONFIG_IWLWIFI_DEBUGFS=y
switch (mode) {
case IWL_LED_DEFAULT:
+--- a/drivers/net/wireless/iwlwifi/mvm/led.c
++++ b/drivers/net/wireless/iwlwifi/mvm/led.c
+@@ -108,7 +108,9 @@ int iwl_mvm_leds_init(struct iwl_mvm *mv
+ mvm->led.name = kasprintf(GFP_KERNEL, "%s-led",
+ wiphy_name(mvm->hw->wiphy));
+ mvm->led.brightness_set = iwl_led_brightness_set;
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)
+ mvm->led.max_brightness = 1;
++#endif
+
+ if (mode == IWL_LED_RF_STATE)
+ mvm->led.default_trigger =
--- /dev/null
+This backports:
+
+commit 502a2ffd7376ae27cfde6172257db0ff9d8cfec2
+Author: stephen hemminger <shemminger@vyatta.com>
+Date: Wed Mar 17 20:31:13 2010 +0000
+
+ ipv6: convert idev_list to list macros
+
+--- a/drivers/net/wireless/iwlwifi/mvm/d3.c
++++ b/drivers/net/wireless/iwlwifi/mvm/d3.c
+@@ -98,7 +98,11 @@ void iwl_mvm_ipv6_addr_change(struct iee
+ int idx = 0;
+
+ read_lock(&idev->lock);
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35))
+ list_for_each_entry(ifa, &idev->addr_list, if_list) {
++#else
++ for (ifa = idev->addr_list; ifa; ifa = ifa->if_next) {
++#endif
+ mvmvif->target_ipv6_addrs[idx] = ifa->addr;
+ idx++;
+ if (idx >= IWL_PROTO_OFFLOAD_NUM_IPV6_ADDRS)
drivers/net/wireless/iwlwifi
drivers/net/wireless/iwlwifi/pcie
drivers/net/wireless/iwlwifi/dvm
+ drivers/net/wireless/iwlwifi/mvm
drivers/net/wireless/rt2x00
drivers/net/wireless/zd1211rw
drivers/net/wireless/libertas