Linux wireless drivers development
 help / color / mirror / Atom feed
* ath9k and signal level
@ 2008-07-30  2:40 Jack Howarth
  2008-08-04 18:07 ` Luis R. Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Howarth @ 2008-07-30  2:40 UTC (permalink / raw)
  To: linux-wireless

    I was finally able to get the ath9k drivers to work
under 2.6.26-rc1 by using the previous ath9k git patch,
the 16 new ath9k patches, the Berg's proposed skb->cb
patch and the following patch I constructed for ath9k
to mimic the skb->cb changes...

--- linux-2.6.26.x86_64/drivers/net/wireless/ath9k/xmit.c.orig	2008-07-29 19:32
:26.000000000 -0400
+++ linux-2.6.26.x86_64/drivers/net/wireless/ath9k/xmit.c	2008-07-29 20:04
:09.000000000 -0400
@@ -37,6 +37,10 @@
 
 #define OFDM_SIFS_TIME    	    16
 
+#ifndef ETH_P_PAE
+#define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
+#endif /* ETH_P_PAE */
+
 static u_int32_t bits_per_symbol[][2] = {
 	/* 20MHz 40MHz */
 	{    26,   54 },     /*  0: BPSK */
@@ -248,7 +252,7 @@
 		txctl->min_rate = tx_info_priv->min_rate;
 	} else if (ieee80211_is_data(fc)) {
 		if (ieee80211_is_nullfunc(fc) ||
-		    (tx_info->flags & IEEE80211_TX_CTL_EAPOL_FRAME)) {
+		    (skb->protocol == cpu_to_be16(ETH_P_PAE)))  {
 			txctl->use_minrate = 1;
 			txctl->min_rate = tx_info_priv->min_rate;
 		}
@@ -310,7 +314,7 @@
 	txctl->keytype = HAL_KEY_TYPE_CLEAR;
 	txctl->keyix = HAL_TXKEYIX_INVALID;
 
-	if (!(tx_info->flags & IEEE80211_TX_CTL_DO_NOT_ENCRYPT)) {
+	if (tx_info->control.hw_key) {
 		txctl->keyix = tx_info->control.hw_key->hw_key_idx;
 		txctl->frmlen += tx_info->control.icv_len;

So far the ath9k driver seems to be working well with one oddity.
I find that the gnome menu applet (using the NetworkManager in Fedora 9)
shows a signal level of zero (even though it recognizes that the connection
exists to the wireless network). Is this a known issue?
                          Jack
ps Are all 16 patches now applied to the ath9k git?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ath9k and signal level
  2008-07-30  2:40 ath9k and signal level Jack Howarth
@ 2008-08-04 18:07 ` Luis R. Rodriguez
  2008-08-04 18:11   ` Jack Howarth
  0 siblings, 1 reply; 4+ messages in thread
From: Luis R. Rodriguez @ 2008-08-04 18:07 UTC (permalink / raw)
  To: Jack Howarth; +Cc: linux-wireless

On Tue, Jul 29, 2008 at 7:40 PM, Jack Howarth <howarth@bromo.msbb.uc.edu> wrote:
>    I was finally able to get the ath9k drivers to work
> under 2.6.26-rc1 by using the previous ath9k git patch,
> the 16 new ath9k patches, the Berg's proposed skb->cb
> patch and the following patch I constructed for ath9k
> to mimic the skb->cb changes...

Thanks for the suggested patch. I've integrated a modified version of it.

> So far the ath9k driver seems to be working well with one oddity.
> I find that the gnome menu applet (using the NetworkManager in Fedora 9)
> shows a signal level of zero (even though it recognizes that the connection
> exists to the wireless network). Is this a known issue?

Yes and I've recently added initial patch to add link quality support.

> ps Are all 16 patches now applied to the ath9k git?

Yes, and more.

  Luis

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ath9k and signal level
  2008-08-04 18:07 ` Luis R. Rodriguez
@ 2008-08-04 18:11   ` Jack Howarth
  2008-08-04 18:16     ` Luis R. Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Howarth @ 2008-08-04 18:11 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: linux-wireless

Luis,
   I noticed. The current ath9k git when built against 2.6.27-rc1-git4
produces a driver which diplays the signal level in the gnome menu
bar under Fedora 9. Thanks.
                Jack

On Mon, Aug 04, 2008 at 11:07:24AM -0700, Luis R. Rodriguez wrote:
> 
> Yes and I've recently added initial patch to add link quality support.
> 
> 
>   Luis

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ath9k and signal level
  2008-08-04 18:11   ` Jack Howarth
@ 2008-08-04 18:16     ` Luis R. Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Luis R. Rodriguez @ 2008-08-04 18:16 UTC (permalink / raw)
  To: Jack Howarth; +Cc: linux-wireless

On Mon, Aug 4, 2008 at 11:11 AM, Jack Howarth <howarth@bromo.msbb.uc.edu> wrote:
> Luis,
>   I noticed. The current ath9k git when built against 2.6.27-rc1-git4
> produces a driver which diplays the signal level in the gnome menu
> bar under Fedora 9. Thanks.

Good to know I hadn't even tested it with a GUI :)

  Luis

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-04 18:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30  2:40 ath9k and signal level Jack Howarth
2008-08-04 18:07 ` Luis R. Rodriguez
2008-08-04 18:11   ` Jack Howarth
2008-08-04 18:16     ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox