Skip to content

No cache support for genl #298

Open
Open
@jeffisaavs

Description

@jeffisaavs

Many userspace applications (iw, wpa_supplicant, etc.) use netlink to interact with wireless drivers. However, the NETLINK_GENERIC protocol has no out-of-the-box caching mechanism.

I've noticed that messages received over netlink from iwlwifi are occasionally missing information. For instance, the response after issuing NL80211_CMD_GET_INTERFACE is occasionally missing fields in the NL80211_STA_INFO_TX_BITRATE nested attribute. This results in wpa_supplicant and iw reporting the incorrect MCS and link speed.

Is it possible to implement caching in genl? It seems like the first thing that would have to be done would be defining nl_cache_ops, but beyond that, I'm not sure how complicated the implementation would be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions