r4020 - branches/src/target/kernel/2.6.24.x/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Wed Feb 6 12:10:39 CET 2008


Author: werner
Date: 2008-02-06 12:10:34 +0100 (Wed, 06 Feb 2008)
New Revision: 4020

Modified:
   branches/src/target/kernel/2.6.24.x/patches/atheros_2_0_function.patch
Log:
ar6k: 2.0.0.89 firmware support

The 2.0.0.40 firmware crashes when getting certain RX data patterns,
which can easily be reproduced when running an SSH transfer over WPA.
The 2.0.0.89 firmware fixes that and doesn't seem to introduce
regressions. This patch is neede to support this firmware.

Signed-off-by: Samuel Ortiz <sameo at openedhand.com>

atheros_2_0_function.patch
- drivers/sdio/function/wlan/ar6000/include/wmi.h,
  drivers/sdio/function/wlan/ar6000/wmi/wmi.c: add support for the 20.0.0.89
  firmware.



Modified: branches/src/target/kernel/2.6.24.x/patches/atheros_2_0_function.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/atheros_2_0_function.patch	2008-02-05 12:16:55 UTC (rev 4019)
+++ branches/src/target/kernel/2.6.24.x/patches/atheros_2_0_function.patch	2008-02-06 11:10:34 UTC (rev 4020)
@@ -20840,7 +20840,7 @@
 ===================================================================
 --- /dev/null
 +++ linux-2.6.24/drivers/sdio/function/wlan/ar6000/include/wmi.h
-@@ -0,0 +1,1739 @@
+@@ -0,0 +1,1743 @@
 +/*
 + * Copyright (c) 2004-2006 Atheros Communications Inc.
 + * All rights reserved.
@@ -21088,8 +21088,11 @@
 +    CONNECT_IGNORE_WPAx_GROUP_CIPHER = 0x0004,
 +    CONNECT_PROFILE_MATCH_DONE = 0x0008,
 +    CONNECT_IGNORE_AAC_BEACON = 0x0010,
++    CONNECT_CSA_FOLLOW_BSS = 0x0020,
 +} WMI_CONNECT_CTRL_FLAGS_BITS;
 +
++#define DEFAULT_CONNECT_CTRL_FLAGS         (CONNECT_CSA_FOLLOW_BSS)
++
 +typedef PREPACK struct {
 +    A_UINT8     networkType;
 +    A_UINT8     dot11AuthMode;
@@ -21362,8 +21365,8 @@
 +typedef PREPACK struct {
 +    A_UINT16    psPollTimeout;          /* msec */
 +    A_UINT16    triggerTimeout;         /* msec */
-+    APSD_TIM_POLICY apsdTimPolicy;      /* TIM behavior with  ques APSD enabled. Default is IGNORE_TIM_ALL_QUEUES_APSD */
-+    APSD_TIM_POLICY simulatedAPSDTimPolicy;      /* TIM behavior with  simulated APSD enabled. Default is PROCESS_TIM_SIMULATED_APSD */
++    A_UINT32    apsdTimPolicy;      /* TIM behavior with  ques APSD enabled. Default is IGNORE_TIM_ALL_QUEUES_APSD */
++    A_UINT32    simulatedAPSDTimPolicy;      /* TIM behavior with  simulated APSD enabled. Default is PROCESS_TIM_SIMULATED_APSD */
 +} POSTPACK WMI_POWERSAVE_TIMERS_POLICY_CMD;
 +
 +/*
@@ -21893,7 +21896,7 @@
 +    A_UINT8     bssid[ATH_MAC_LEN];
 +    A_UINT16    listenInterval;
 +    A_UINT16    beaconInterval;
-+    NETWORK_TYPE  networkType;
++    A_UINT32    networkType;
 +    A_UINT8     beaconIeLen;
 +    A_UINT8     assocReqLen;
 +    A_UINT8     assocRespLen;
@@ -21913,6 +21916,7 @@
 +    NO_RESOURCES_AVAIL = 0x07,
 +    CSERV_DISCONNECT   = 0x08,
 +    INVALID_PROFILE    = 0x0a,
++    DOT11H_CHANNEL_SWITCH = 0x0b,
 +} WMI_DISCONNECT_REASON;
 +
 +typedef PREPACK struct {
@@ -24554,7 +24558,7 @@
 + * This module implements the hardware independent layer of the
 + * Wireless Module Interface (WMI) protocol.
 + *
-+ * $Id: //depot/sw/releases/olca2.0-GPL/host/wmi/wmi.c#2 $
++ * $Id: //depot/sw/releases/olca2.0-GPL/host/wmi/wmi.c#3 $
 + *
 + *
 + *  This program is free software; you can redistribute it and/or modify
@@ -26109,7 +26113,7 @@
 +       need to do a SYNC before.*/
 +    status = (wmi_cmd_send(wmip, osbuf, WMI_DISCONNECT_CMDID,
 +                         NO_SYNC_WMIFLAG));
-+    wmi_qos_state_init(wmip);
++
 +    return status;
 +}
 +





More information about the commitlog mailing list