Search Linux Wireless

Re: [RFC 3/5] mac80211: implement uAPSD

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

 



> +       ieee80211_sta_ps_deliver_response(sta, sta->sta.max_sp,
> +                                         ~delivery_enabled,
> +
> IEEE80211_FRAME_RELEASE_UAPSD);

This is bogus, sta.max_sp is in the QoS Info field format so needs to be
translated into # of frames.

> @@ -386,6 +390,7 @@ enum mac80211_tx_control_flags {
>  	IEEE80211_TX_CTL_STBC			= BIT(23) | BIT(24),
>  	IEEE80211_TX_CTL_TX_OFFCHAN		= BIT(25),
>  	IEEE80211_TX_INTFL_TKIP_MIC_FAILURE	= BIT(26),
> +	IEEE80211_TX_STATUS_EOSP		= BIT(27),
>  };
>  
>  #define IEEE80211_TX_CTL_STBC_SHIFT		23
> @@ -399,7 +404,7 @@ enum mac80211_tx_control_flags {
>  	IEEE80211_TX_CTL_SEND_AFTER_DTIM | IEEE80211_TX_CTL_AMPDU |	      \
>  	IEEE80211_TX_STAT_TX_FILTERED |	IEEE80211_TX_STAT_ACK |		      \
>  	IEEE80211_TX_STAT_AMPDU | IEEE80211_TX_STAT_AMPDU_NO_BACK |	      \
> -	IEEE80211_TX_CTL_RATE_CTRL_PROBE | IEEE80211_TX_CTL_PSPOLL_RESPONSE | \
> +	IEEE80211_TX_CTL_RATE_CTRL_PROBE | IEEE80211_TX_CTL_POLL_RESPONSE |   \
>  	IEEE80211_TX_CTL_MORE_FRAMES | IEEE80211_TX_CTL_LDPC |		      \
>  	IEEE80211_TX_CTL_STBC)

EOSP needs to be added to temporary flags too.

johannes

--
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