Search Linux Wireless

Re: [PATCH 0/4] Enable uAPSD support in AP mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/09/2012 09:44 AM, Thirumalai wrote:
> In addition to legacy power save, this series of patch adds
> support for uAPSD in AP mode.
> 
> When connected station goes into suspend state, the driver will
> start queuing pkts in the separate queue (called uapsd queue)
> until the station ask for it. 
> 
> The moment driver starting queuing, it will enable traffic indication
> bit for the client connected to indicate data availability. 
> Once station ask for the data (via Trigger frame), the driver will 
> dequeue and send pkt one by one to the station.

I didn't do very thorough review but here are my first comments:

I see that you enable uapsd in patch 2 but add more functionality in
patches 3 and 4. That will break bisect as uapsd will be broken between
patches 2 and 4, no?

It's nice to have small patches, but it's more important to make sure
that bisect works. So you could just fold patches 2-4 into one. You
could even fold patch 1, as it doesn't give any benefit, and just have
one big patch adding the support. Or alternatively you need to enable
uapsd in the last patch so that it won't be used until all the code is
in place.

There are also some sparse warnings:

drivers/net/wireless/ath/ath6kl/wmi.h:232:21: warning: invalid
assignment: |=
drivers/net/wireless/ath/ath6kl/wmi.h:232:21:    left side has type
restricted __le16
drivers/net/wireless/ath/ath6kl/wmi.h:232:21:    right side has type int
drivers/net/wireless/ath/ath6kl/txrx.c:109:36: warning: incorrect type
in assignment (different base types)
drivers/net/wireless/ath/ath6kl/txrx.c:109:36:    expected unsigned
short [unsigned] [usertype] ether_type
drivers/net/wireless/ath/ath6kl/txrx.c:109:36:    got restricted __be16
[usertype] h_proto
drivers/net/wireless/ath/ath6kl/txrx.c:110:29: warning: cast to
restricted __be16
drivers/net/wireless/ath/ath6kl/txrx.c:110:29: warning: cast to
restricted __be16
drivers/net/wireless/ath/ath6kl/txrx.c:110:29: warning: cast to
restricted __be16
drivers/net/wireless/ath/ath6kl/txrx.c:110:29: warning: cast to
restricted __be16
drivers/net/wireless/ath/ath6kl/txrx.c:117:44: warning: incorrect type
in assignment (different base types)
drivers/net/wireless/ath/ath6kl/txrx.c:117:44:    expected unsigned
short [unsigned] [usertype] ether_type
drivers/net/wireless/ath/ath6kl/txrx.c:117:44:    got restricted __be16
[usertype] eth_type
drivers/net/wireless/ath/ath6kl/txrx.c:121:43: warning: restricted
__be16 degrades to integer
drivers/net/wireless/ath/ath6kl/txrx.c:1360:41: warning: restricted
__le16 degrades to integer

And please use your full name in the signed off by line.

Kalle
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux