qtnfmac: keeping track of "generation" for STA info
Keep generation in per-VIF data structure and increment it whenever STA list is changed. Use generation value to fill struct station_info when required. Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
4d2a7a1cfa
commit
7a4d3a3bc8
@@ -26,9 +26,9 @@ struct qtnf_sta_node *qtnf_sta_list_lookup(struct qtnf_sta_list *list,
|
||||
const u8 *mac);
|
||||
struct qtnf_sta_node *qtnf_sta_list_lookup_index(struct qtnf_sta_list *list,
|
||||
size_t index);
|
||||
struct qtnf_sta_node *qtnf_sta_list_add(struct qtnf_sta_list *list,
|
||||
struct qtnf_sta_node *qtnf_sta_list_add(struct qtnf_vif *vif,
|
||||
const u8 *mac);
|
||||
bool qtnf_sta_list_del(struct qtnf_sta_list *list, const u8 *mac);
|
||||
bool qtnf_sta_list_del(struct qtnf_vif *vif, const u8 *mac);
|
||||
|
||||
void qtnf_sta_list_free(struct qtnf_sta_list *list);
|
||||
|
||||
|
Reference in New Issue
Block a user