On Thu, Sep 18, 2008 at 6:09 AM, Luis R. Rodriguez
<[EMAIL PROTECTED]> wrote:
> On Thu, Sep 18, 2008 at 3:04 AM, Partha Bagchi <[EMAIL PROTECTED]> wrote:
>> On Wed, Sep 17, 2008 at 7:20 PM, Luis R. Rodriguez
>> <[EMAIL PROTECTED]> wrote:
>>> On Wed, Sep 17, 2008 at 04:08:47PM -0700, Partha Bagchi wrote:
>>>> Thanks for the patch.  The patch did not apply, I got all rejected
>>>> hunks when I applied it to the source
>>>> compat-wireless-2.6-old/drivers/net/wireless/ath9k
>>>>
>>>> Here are the error messages:
>>>> Bordeaux >  patch -p1 < connectivity.patch
>>>> patching file drivers/net/wireless/ath9k/core.h
>>>> Hunk #1 FAILED at 976.
>>>> 1 out of 1 hunk FAILED -- saving rejects to file
>>>> drivers/net/wireless/ath9k/core.h.rej
>>>> patching file drivers/net/wireless/ath9k/main.c
>>>> Hunk #1 FAILED at 204.
>>>> Hunk #2 FAILED at 1505
>>>> 2 out of 2 hunks FAILED -- saving rejects to file
>>>> drivers/net/wireless/ath9k/main.c.rej
>>>> patching file drivers/net/wireless/ath9k/xmit.c
>>>> Hunk #1 FAILED at 239.
>>>> 1 out of 1 hunk FAILED -- saving rejects to file
>>>> drivers/net/wireless/ath9k/xmit.c.rej
>>>>
>>>> When I looked at the source, I could see that the patch could not work
>>>> since the line numbers are not right. I even tried it on a freshly
>>>> downloaded source from
>>>> http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-old.tar.bz2
>>>
>>> Ah, well it seems we need to update ath9k on compat-wireless-old again.
>>> You can try to replace the ath9k directory from compat-wireless (note,
>>> not -old) with the onto compat-wireless-old and see if that compiles.
>>> If it doesn't compile then you need to do some backport work on that
>>> ath9k files to get it to compile on older kernels.
>>>
>>>  Luis
>>>
>>
>> Hi Luis,
>>
>> I did what you suggested. I downloaded the latest compat-wireless-2.6.
>> I copied the ath9k subdirectory into compat-wireless-2.6.old
>> directory. I deleted that subdirectory prior to doing this. The
>> compilation went without a hitch. So, looks like the compilation is
>> not a problem.
>>
>> I installed the drivers and activated my card. Next, I will test to
>> see how long the connection lasts.
>
> Thanks for reporting this after this patch gets merged I'll update
> compat-wireless-old to have ath9k with it then, just as you did.
>
>> One last questions though. I downloaded the latest compat-wireless-2.6
>> yesterday (EDT). Is it fair to say that the patch did not make it into
>> that varsion? Do I need to pull in the git version to have a stable
>> connection? (My guess is yes?)
>
> You just need to apply the patch from inside compat-wireless-old
> directory, you do not need to pull in anything git-wise.
>
> patch -p1 < foo.patch
>
>  Luis
>

Well, the patch didn't apply again. I get failed hunks at the same
spots. I am using the patch you uploaded yesterday. Maybe I can pull
in compat-wireless after the patch has been applied as you asked
earlier. Right now, my connection lasted 30 minutes before
disconnecting.

I am also getting a lot of messages similar to the following in
/var/log/message:

Sep 18 06:39:17 Bordeaux NetworkManager: <info>  (wlan1): supplicant
connection state change: 3 -> 0
Sep 18 06:39:17 Bordeaux NetworkManager: <info>  (wlan1): supplicant
connection state change: 0 -> 2
Sep 18 06:39:18 Bordeaux NetworkManager: <info>  (wlan1): supplicant
connection state change: 2 -> 3
Sep 18 06:39:18 Bordeaux NetworkManager: <info>  (wlan1): supplicant
connection state change: 3 -> 4
Sep 18 06:39:18 Bordeaux NetworkManager: <info>  (wlan1): supplicant
connection state change: 4 -> 7

Thanks for all your help!

Partha
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to