path: root/wpa_supplicant/offchannel.c
Commit message (Collapse)AuthorAgeFilesLines
* P2P: Check Action frame payload match before accepted TX statusPo-Lun Lai2013-10-231-0/+15
| | | | | | | | | | | | It is possible for there to be two pending off-channel TX frames, e.g., when two devices initiate GO Negotiation at more or less the same time. This could result in the TX status report for the first frame clearing wpa_s->pending_action_tx that included the newer frame that has not yet been transmitted (i.e., is waiting to be sent out). Avoid losing that frame by confirming that the TX status payload matches the pending frame before clearing the pending frame and reporting the TX status callback. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* P2P: Fix invalid remain-on-channel duration for frame TXWei-Jen Lin2013-07-311-0/+2
| | | | | | | | cfg80211 does not allow the zero duration of remain-on-channel. Instead, use 20 ms as default waiting time when remain-on-channel is used to schedule offchannel transmission that does not expect a response. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Move some P2P offchannel operations to offchannel.cJouni Malinen2012-12-221-2/+28
| | | | | | | | There is no need for p2p_supplicant.c to access wpa_s->pending_action_tx so move these references to offchannel.c to get a bit cleaner interface between the components. Signed-hostap: Jouni Malinen <j@w1.fi>
* Document offchannel Action frame TX functionsJouni Malinen2012-12-221-0/+63
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove the GPL notification from files contributed by AtherosJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from files that were initially contributed by Atheros Communications or Qualcomm Atheros. Signed-hostap: Jouni Malinen <j@w1.fi>
* Add no_cck parameter for send_action() driver_opsJouni Malinen2011-10-291-8/+12
| | | | | | | | | This can be used to apply the no-CCK rule conditionally depending on which frame is being sent. The no-CCK rule applies only for P2P management frames while SA Query and FT use cases do not have similar restrictions. Signed-hostap: Jouni Malinen <j@w1.fi>
* GAS: Use off-channel operations for requestsJouni Malinen2011-09-291-0/+310
This separates off-channel Action frame TX/RX from P2P into a generic implementation that can now be used both for P2P and GAS needs.