Search Linux Wireless

Re: possible bug in sta_info.c : ieee80211_send_null_response

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

 



On Mon, 2012-01-16 at 13:15 +0100, Marco Porsch wrote:

> ieee80211_xmit is called at the end of the function. Which then calls 
> ieee80211_set_qos_hdr.
> 
> But ieee80211_set_qos_hdr will completely overwrite the QoS header again.
> So, what is wrong here?

You, I think?


void ieee80211_set_qos_hdr(struct ieee80211_sub_if_data *sdata,
                           struct sk_buff *skb)
...
                /* preserve EOSP bit */
                ack_policy = *p & IEEE80211_QOS_CTL_EOSP;
...
                /* qos header is 2 bytes */
                *p++ = ack_policy | tid;   
                *p = ieee80211_vif_is_mesh(&sdata->vif) ?
                        (IEEE80211_QOS_CTL_MESH_CONTROL_PRESENT >> 8) :
0;


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