Package: acx100
Version: 20060521-3
Severity: normal
Tags: patch
Hi,
Attached is the diff for my acx100 20070101-1 NMU.
--
With best regards,
Stanislav Kogut [EMAIL PROTECTED]
diff -Nru /tmp/wYqKdCn6l2/acx100-20060521/acx_config.h /tmp/DfExYlGbnH/acx100-20070101/acx_config.h
--- /tmp/wYqKdCn6l2/acx100-20060521/acx_config.h 2006-05-20 21:27:57.0 +0300
+++ /tmp/DfExYlGbnH/acx100-20070101/acx_config.h 2007-01-05 13:05:20.0 +0200
@@ -2,7 +2,7 @@
#define CONFIG_ACX_PCI 1
#define CONFIG_ACX_USB 1
-#define ACX_RELEASE v0.3.35
+#define ACX_RELEASE v0.3.36
/* set to 0 if you don't want any debugging code to be compiled in */
/* set to 1 if you want some debugging */
diff -Nru /tmp/wYqKdCn6l2/acx100-20060521/acx_func.h /tmp/DfExYlGbnH/acx100-20070101/acx_func.h
--- /tmp/wYqKdCn6l2/acx100-20060521/acx_func.h 2006-05-20 21:27:56.0 +0300
+++ /tmp/DfExYlGbnH/acx100-20070101/acx_func.h 2006-06-03 18:46:59.0 +0300
@@ -241,6 +241,13 @@
}
+static inline int
+is_hidden_essid(char *essid)
+{
+ return (('\0' == essid[0]) ||
+ ((' ' == essid[0]) ('\0' == essid[1])));
+}
+
/***
** LOCKING
** We have adev-sem and adev-lock.
diff -Nru /tmp/wYqKdCn6l2/acx100-20060521/acx_struct.h /tmp/DfExYlGbnH/acx100-20070101/acx_struct.h
--- /tmp/wYqKdCn6l2/acx100-20060521/acx_struct.h 2006-05-20 21:27:59.0 +0300
+++ /tmp/DfExYlGbnH/acx100-20070101/acx_struct.h 2006-08-13 23:49:57.0 +0300
@@ -298,12 +298,12 @@
DEF_IE(1xx_IE_DOT11_MAX_XMIT_MSDU_LIFETIME ,0x1008, 0x04);
DEF_IE(1xx_IE_DOT11_GROUP_ADDR ,0x1009, -1);
DEF_IE(1xx_IE_DOT11_CURRENT_REG_DOMAIN ,0x100a, 0x02);
-//It's harmless to have larger struct. Use USB case always.
+/* It's harmless to have larger struct. Use USB case always. */
DEF_IE(1xx_IE_DOT11_CURRENT_ANTENNA ,0x100b, 0x02); /* in fact len=1 for PCI */
DEF_IE(1xx_IE_DOT11_UNKNOWN_100C ,0x100c, -1); /* mapped to cfgInvalid in FW150 */
DEF_IE(1xx_IE_DOT11_TX_POWER_LEVEL ,0x100d, 0x01); /* TNETW1450 has length 2!! */
DEF_IE(1xx_IE_DOT11_CURRENT_CCA_MODE ,0x100e, 0x02); /* in fact len=1 for PCI */
-//USB doesn't return anything - len==0?!
+/* USB doesn't return anything - len==0?! */
DEF_IE(100_IE_DOT11_ED_THRESHOLD ,0x100f, 0x04);
DEF_IE(1xx_IE_DOT11_WEP_DEFAULT_KEY_SET ,0x1010, 0x01); /* set default key ID; TNETW1450: length 2 */
DEF_IE(100_IE_DOT11_UNKNOWN_1011 ,0x1011, -1); /* mapped to cfgInvalid in FW150 */
@@ -495,7 +495,7 @@
/* I've hoped it's a 802.11 PHY header, but no...
* so far, I've seen on acx111:
- * 3a00 IBBS Beacons
+ * 3a00 IBSS Beacons
* 3c00 ESS Beacons
* 2700 Probe requests
* --vda
diff -Nru /tmp/wYqKdCn6l2/acx100-20060521/Changelog /tmp/DfExYlGbnH/acx100-20070101/Changelog
--- /tmp/wYqKdCn6l2/acx100-20060521/Changelog 2006-05-20 21:27:59.0 +0300
+++ /tmp/DfExYlGbnH/acx100-20070101/Changelog 2007-01-11 00:03:44.0 +0200
@@ -104,6 +104,31 @@
13:14:13 wlan0: tx error 0x20, buf 07!
13:14:13 wlan0: tx error 0x20, buf 08!
+[20070101] 0.3.36
+* Andreas Mohr [EMAIL PROTECTED]
+ - cope with *tons* of Linux kernel API changes (via added version checks):
+- linux/utsrelease.h required in 2.6.18
+- linux/config.h include removal in 2.6.19
+- pt_regs interrupt handler arg removal in 2.6.19
+- INIT_WORK() change in 2.6.20-rc1-git1
+- ESSID last char missing API change in WE-21
+If anything fails to work for a real non-prerelease mainline kernel version
+(supported ones, that is: = 2.6.10), then please yell immediately!
+Those people *REALLY* want me to concentrate on getting this stuff ready for
+mainline, it seems...
+ - MAC address change fix (contributed by Carlos MartМn Nieto/Luis Padilla)
+ - fix iwlist wlan0 scan output (updated wrong pointer variable -- only one single rate value listed, doh!)
+ - fix buggy hidden ESSID handling (didn't cover all variants in all places)
+ - corrected(?) duration/sequence values in assoc steps handling
+ - use ioremap_nocache() instead of ioremap() (safer)
+ - add another TNETW1450 USB ID
+ - FIX buggy correction of medium busy percentage log message
+ - small /proc/driver/acx_wlan0_diag addition
+ - much more verbose firmware image query log message
+ - updated format of main hardware status log message
+ - slightly enhanced Reason Code log messages
+ - minor cleanup
+
[20060518]
* Fix warnings about packed structs and printf format mismatches.
Fix implicit declaration of function dma_free_coherent warning.
diff -Nru /tmp/wYqKdCn6l2/acx100-20060521/common.c /tmp/DfExYlGbnH/acx100-20070101/common.c
--- /tmp/wYqKdCn6l2/acx100-20060521/common.c 2006-05-20 21:27:58.0 +0300
+++ /tmp/DfExYlGbnH/acx100-20070101/common.c 2007-08-25 09:08:44.0 +0300
@@ -30,8 +30,10 @@
**