All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath10k:  Ensure rx-frag ignores rssi.
@ 2014-05-15 18:30 greearb
  0 siblings, 0 replies; 5+ messages in thread
From: greearb @ 2014-05-15 18:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-wireless, Ben Greear

From: Ben Greear <greearb@candelatech.com>

It seems ath10k firmware gives us no way to know
the rssi for rx-fragments.

Signed-off-by: Ben Greear <greearb@candelatech.com>
---

Patch is against my tree, hopefully will apply OK against upstream
but have not tested that yet.

 drivers/net/wireless/ath/ath10k/htt_rx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c
index f94ac44..f62b0e4 100644
--- a/drivers/net/wireless/ath/ath10k/htt_rx.c
+++ b/drivers/net/wireless/ath/ath10k/htt_rx.c
@@ -1343,6 +1343,7 @@ static void ath10k_htt_rx_frag_handler(struct ath10k_htt *htt,
 	}
 
 	/* FIXME: implement signal strength */
+	rx_status->flag |= RX_FLAG_NO_SIGNAL_VAL;
 
 	hdr = (struct ieee80211_hdr *)msdu_head->data;
 	rxd = (void *)msdu_head->data - sizeof(*rxd);
-- 
1.7.11.7


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

* Re: [PATCH] ath10k:  Ensure rx-frag ignores rssi.
  2014-05-15 18:35 greearb
  2014-05-16 12:41 ` Kalle Valo
@ 2014-05-27  9:30 ` Kalle Valo
  1 sibling, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2014-05-27  9:30 UTC (permalink / raw)
  To: greearb; +Cc: ath10k

greearb@candelatech.com writes:

> From: Ben Greear <greearb@candelatech.com>
>
> It seems ath10k firmware gives us no way to know
> the rssi for rx-fragments.
>
> Signed-off-by: Ben Greear <greearb@candelatech.com>

Thanks, applied.

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

* Re: [PATCH] ath10k: Ensure rx-frag ignores rssi.
  2014-05-16 12:41 ` Kalle Valo
@ 2014-05-16 17:44   ` Janusz Dziedzic
  0 siblings, 0 replies; 5+ messages in thread
From: Janusz Dziedzic @ 2014-05-16 17:44 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Ben Greear, ath10k

On 16 May 2014 14:41, Kalle Valo <kvalo@qca.qualcomm.com> wrote:
> greearb@candelatech.com writes:
>
>> From: Ben Greear <greearb@candelatech.com>
>>
>> It seems ath10k firmware gives us no way to know
>> the rssi for rx-fragments.
>>
>> Signed-off-by: Ben Greear <greearb@candelatech.com>
>
> Janusz, are you ok with this?
>
Yes this one is OK :)

BR
Janusz

>> Patch is against my tree, hopefully will apply OK against upstream
>> but have not tested that yet.
>
> Perfect, thanks for telling me this. Then I can just drop the patch if
> it doesn't apply. Oh, and it did apply cleanly to ath-next-test.
>
> --
> Kalle Valo
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

* Re: [PATCH] ath10k:  Ensure rx-frag ignores rssi.
  2014-05-15 18:35 greearb
@ 2014-05-16 12:41 ` Kalle Valo
  2014-05-16 17:44   ` Janusz Dziedzic
  2014-05-27  9:30 ` Kalle Valo
  1 sibling, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2014-05-16 12:41 UTC (permalink / raw)
  To: greearb; +Cc: ath10k

greearb@candelatech.com writes:

> From: Ben Greear <greearb@candelatech.com>
>
> It seems ath10k firmware gives us no way to know
> the rssi for rx-fragments.
>
> Signed-off-by: Ben Greear <greearb@candelatech.com>

Janusz, are you ok with this?

> Patch is against my tree, hopefully will apply OK against upstream
> but have not tested that yet.

Perfect, thanks for telling me this. Then I can just drop the patch if
it doesn't apply. Oh, and it did apply cleanly to ath-next-test.

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

* [PATCH] ath10k:  Ensure rx-frag ignores rssi.
@ 2014-05-15 18:35 greearb
  2014-05-16 12:41 ` Kalle Valo
  2014-05-27  9:30 ` Kalle Valo
  0 siblings, 2 replies; 5+ messages in thread
From: greearb @ 2014-05-15 18:35 UTC (permalink / raw)
  To: ath10k; +Cc: Ben Greear

From: Ben Greear <greearb@candelatech.com>

It seems ath10k firmware gives us no way to know
the rssi for rx-fragments.

Signed-off-by: Ben Greear <greearb@candelatech.com>
---

Patch is against my tree, hopefully will apply OK against upstream
but have not tested that yet.

 drivers/net/wireless/ath/ath10k/htt_rx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c
index f94ac44..f62b0e4 100644
--- a/drivers/net/wireless/ath/ath10k/htt_rx.c
+++ b/drivers/net/wireless/ath/ath10k/htt_rx.c
@@ -1343,6 +1343,7 @@ static void ath10k_htt_rx_frag_handler(struct ath10k_htt *htt,
 	}
 
 	/* FIXME: implement signal strength */
+	rx_status->flag |= RX_FLAG_NO_SIGNAL_VAL;
 
 	hdr = (struct ieee80211_hdr *)msdu_head->data;
 	rxd = (void *)msdu_head->data - sizeof(*rxd);
-- 
1.7.11.7


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

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

end of thread, other threads:[~2014-05-27  9:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-15 18:30 [PATCH] ath10k: Ensure rx-frag ignores rssi greearb
2014-05-15 18:35 greearb
2014-05-16 12:41 ` Kalle Valo
2014-05-16 17:44   ` Janusz Dziedzic
2014-05-27  9:30 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.