compat-2.6: compat.diff update for master-2009-02-18 wireless-testing.
PATCH 1/1 compat-2.6: compat.diff update for master-2009-02-18 wireless-testing.
Hi Luis,
this patch makes compat-wireless work with the latest wireless-testing again.
It also adds the at76c50x-usb driver.
I tested b43 with kernel 2.6.27 and rtl8187 with kernel 2.6.29-rc5.
--
Hauke
From 1bc134361dd56726fa3c9dfaeee2d59aa61f8a0d Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <[email protected]>
Date: Thu, 19 Feb 2009 18:24:32 +0100
Subject: [PATCH] compat-wireless: compat.diff update for master-2009-02-18 wireless-testing.
Revert commit 65949939dd23bcde83dc0fa56dd5932eda38c050 in wireless-testing for kernels older than 2.6.30. Add at76c50x-usb driver.
--- Makefile | 16 +- compat/compat.diff | 513 +++++++++++++++++++++++++++++++++++++++++++++-- config.mk | 11 +- scripts/admin-update.sh | 5 +- 4 files changed, 509 insertions(+), 36 deletions(-)
Makefile +9 -7
@@ -104,14 +104,16 @@ install: uninstall modules @$(MODPROBE) -l cfg80211 @$(MODPROBE) -l lib80211 @$(MODPROBE) -l adm8211 - @$(MODPROBE) -l at76_usb + @$(MODPROBE) -l at76c50x-usb @$(MODPROBE) -l ath5k @$(MODPROBE) -l ath9k @$(MODPROBE) -l b43 @$(MODPROBE) -l b43legacy + @$(MODPROBE) -l b44 @$(MODPROBE) -l ssb + @$(MODPROBE) -l rc80211_simple + @$(MODPROBE) -l iwlcore @$(MODPROBE) -l iwl3945 - @$(MODPROBE) -l iwl4965 @$(MODPROBE) -l iwlagn @$(MODPROBE) -l ipw2100 @$(MODPROBE) -l ipw2200
@@ -122,8 +124,8 @@ install: uninstall modules @$(MODPROBE) -l libertas_tf @$(MODPROBE) -l libertas_tf_usb @$(MODPROBE) -l ub8xxx - @$(MODPROBE) -l p54_pci - @$(MODPROBE) -l p54_usb + @$(MODPROBE) -l p54pci + @$(MODPROBE) -l p54usb @$(MODPROBE) -l rt2400pci @$(MODPROBE) -l rt2500pci @$(MODPROBE) -l rt2500usb
@@ -164,15 +166,16 @@ uninstall: @$(MODPROBE) -l cfg80211 @$(MODPROBE) -l lib80211 @$(MODPROBE) -l adm8211 + @$(MODPROBE) -l at76c50x-usb @$(MODPROBE) -l ath5k @$(MODPROBE) -l ath9k - @$(MODPROBE) -l at76_usb @$(MODPROBE) -l b43 @$(MODPROBE) -l b43legacy + @$(MODPROBE) -l b44 @$(MODPROBE) -l ssb @$(MODPROBE) -l rc80211_simple + @$(MODPROBE) -l iwlcore @$(MODPROBE) -l iwl3945 - @$(MODPROBE) -l iwl4965 @$(MODPROBE) -l iwlagn @$(MODPROBE) -l ipw2100 @$(MODPROBE) -l ipw2200
@@ -182,7 +185,6 @@ uninstall: @$(MODPROBE) -l libertas_cs @$(MODPROBE) -l libertas_tf @$(MODPROBE) -l libertas_tf_usb - @$(MODPROBE) -l mac80211 @$(MODPROBE) -l ub8xxx @$(MODPROBE) -l p54pci @$(MODPROBE) -l p54usb
compat/compat.diff +493 -20
597 lines not on this page · raw message
config.mk +5 -6
@@ -113,21 +113,18 @@ CONFIG_ATH9K=m # CONFIG_ATH9K_DEBUG is not set -CONFIG_IWLWIFI=y -CONFIG_IWLCORE=m +CONFIG_IWLWIFI=m CONFIG_IWLWIFI_LEDS=y # CONFIG_IWLWIFI_RFKILL=y +CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y # CONFIG_IWLWIFI_DEBUG is not set +# CONFIG_IWLWIFI_DEBUGFS is not set CONFIG_IWLAGN=m -CONFIG_IWLAGN_SPECTRUM_MEASUREMENT=y -CONFIG_IWLAGN_LEDS=y CONFIG_IWL4965=y CONFIG_IWL5000=y CONFIG_IWL3945=m -# CONFIG_IWL3945_RFKILL=y CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y CONFIG_IWL3945_LEDS=y -# CONFIG_IWL3945_DEBUG is not set CONFIG_B43=m
@@ -241,6 +238,8 @@ CONFIG_USB_NET_CDCETHER=m CONFIG_P54_USB=m CONFIG_RTL8187=m +CONFIG_AT76C50X_USB=m + # RT2500USB does not require firmware CONFIG_RT2500USB=m
scripts/admin-update.sh +2 -3
@@ -24,10 +24,8 @@ INCLUDE_LINUX="$INCLUDE_LINUX ath9k_platform.h" # For rndis_wext INCLUDE_LINUX_USB="usbnet.h rndis_host.h" -# Stuff that should die or be merged, only ipw uses it -INCLUDE_NET_OLD="ieee80211.h" # The good new yummy stuff -INCLUDE_NET="$INCLUDE_NET_OLD cfg80211.h ieee80211_radiotap.h iw_handler.h" +INCLUDE_NET="cfg80211.h ieee80211_radiotap.h iw_handler.h" INCLUDE_NET="$INCLUDE_NET mac80211.h wext.h wireless.h lib80211.h" NET_DIRS="wireless mac80211"
@@ -66,6 +64,7 @@ DRIVERS="$DRIVERS drivers/net/wireless/ipw2x00" DRIVER_FILES="adm8211.c adm8211.h" DRIVER_FILES="$DRIVER_FILES rndis_wlan.c" DRIVER_FILES="$DRIVER_FILES mac80211_hwsim.c" +DRIVER_FILES="$DRIVER_FILES at76c50x-usb.c at76c50x-usb.h" mkdir -p include/linux/ include/net/ include/linux/usb \ net/mac80211/ net/wireless/ \
Signature · 1 line
1.5.6.3
Luis R. Rodriguez
AppliedQuoted 6 lines · Hauke Mehrtens
Hi Luis,
this patch makes compat-wireless work with the latest wireless-testing again.
It also adds the at76c50x-usb driver.
I tested b43 with kernel 2.6.27 and rtl8187 with kernel 2.6.29-rc5.
Thanks! Applied with some small changes (leave iwlwifi kconfig changes in a separate patch).
compat-wireless updated and new tarball regenerated.
Luis
PATCH 1/1 compat-2.6: Add place holder for CONFIG_MAC80211_DEBUGFS in config.mk
It is difficult to help someone debug a rate-setting problem when using compat-wireless because debugging is not set for mac80211. With this patch the place holder is in the make file even though the debug option is not set, and it will be easier to coach a user on turning it on.
---
config.mk +1 -0
@@ -74,6 +74,7 @@ endif # kernel Makefile check # Wireless subsystem stuff CONFIG_MAC80211=m +# CONFIG_MAC80211_DEBUGFS is not set # choose between pid and minstrel as default rate control algorithm CONFIG_MAC80211_RC_DEFAULT=minstrel
Luis R. Rodriguez
AppliedRe: [PATCH] compat-2.6: Add place holder for CONFIG_MAC80211_DEBUGFS in config.mk
Quoted 6 lines · Larry Finger
It is difficult to help someone debug a rate-setting problem when using compat-wireless because debugging is not set for mac80211. With this patch the place holder is in the make file even though the debug option is not set, and it will be easier to coach a user on turning it on.
Signed-off-by Larry Finger <[email protected]>
Thanks, applied and new tarball regenerated.
Luis