.. | .. |
---|
5782 | 5782 | * case. |
---|
5783 | 5783 | * @bssid: The BSSID of the AP (may be %NULL) |
---|
5784 | 5784 | * @bss: Entry of bss to which STA got connected to, can be obtained through |
---|
5785 | | - * cfg80211_get_bss() (may be %NULL). Only one parameter among @bssid and |
---|
5786 | | - * @bss needs to be specified. |
---|
| 5785 | + * cfg80211_get_bss() (may be %NULL). But it is recommended to store the |
---|
| 5786 | + * bss from the connect_request and hold a reference to it and return |
---|
| 5787 | + * through this param to avoid a warning if the bss is expired during the |
---|
| 5788 | + * connection, esp. for those drivers implementing connect op. |
---|
| 5789 | + * Only one parameter among @bssid and @bss needs to be specified. |
---|
5787 | 5790 | * @req_ie: Association request IEs (may be %NULL) |
---|
5788 | 5791 | * @req_ie_len: Association request IEs length |
---|
5789 | 5792 | * @resp_ie: Association response IEs (may be %NULL) |
---|
.. | .. |
---|
5831 | 5834 | * |
---|
5832 | 5835 | * @dev: network device |
---|
5833 | 5836 | * @bssid: the BSSID of the AP |
---|
5834 | | - * @bss: entry of bss to which STA got connected to, can be obtained |
---|
5835 | | - * through cfg80211_get_bss (may be %NULL) |
---|
| 5837 | + * @bss: Entry of bss to which STA got connected to, can be obtained through |
---|
| 5838 | + * cfg80211_get_bss() (may be %NULL). But it is recommended to store the |
---|
| 5839 | + * bss from the connect_request and hold a reference to it and return |
---|
| 5840 | + * through this param to avoid a warning if the bss is expired during the |
---|
| 5841 | + * connection, esp. for those drivers implementing connect op. |
---|
| 5842 | + * Only one parameter among @bssid and @bss needs to be specified. |
---|
5836 | 5843 | * @req_ie: association request IEs (maybe be %NULL) |
---|
5837 | 5844 | * @req_ie_len: association request IEs length |
---|
5838 | 5845 | * @resp_ie: association response IEs (may be %NULL) |
---|