Searched refs:vcmd (Results 1 – 1 of 1) sorted by relevance
12876 static int nl80211_vendor_check_policy(const struct wiphy_vendor_command *vcmd, in nl80211_vendor_check_policy() argument12880 if (vcmd->policy == VENDOR_CMD_RAW_DATA) { in nl80211_vendor_check_policy()12895 return nl80211_validate_nested(attr, vcmd->maxattr, vcmd->policy, in nl80211_vendor_check_policy()12926 const struct wiphy_vendor_command *vcmd; in nl80211_vendor_cmd() local12930 vcmd = &rdev->wiphy.vendor_commands[i]; in nl80211_vendor_cmd()12932 if (vcmd->info.vendor_id != vid || vcmd->info.subcmd != subcmd) in nl80211_vendor_cmd()12935 if (vcmd->flags & (WIPHY_VENDOR_CMD_NEED_WDEV | in nl80211_vendor_cmd()12939 if (vcmd->flags & WIPHY_VENDOR_CMD_NEED_NETDEV && in nl80211_vendor_cmd()12943 if (vcmd->flags & WIPHY_VENDOR_CMD_NEED_RUNNING) { in nl80211_vendor_cmd()12948 if (!vcmd->doit) in nl80211_vendor_cmd()[all …]