Searched refs:vcmd (Results 1 – 1 of 1) sorted by relevance
13533 static int nl80211_vendor_check_policy(const struct wiphy_vendor_command *vcmd, in nl80211_vendor_check_policy() argument13537 if (vcmd->policy == VENDOR_CMD_RAW_DATA) { in nl80211_vendor_check_policy()13552 return nla_validate_nested(attr, vcmd->maxattr, vcmd->policy, extack); in nl80211_vendor_check_policy()13582 const struct wiphy_vendor_command *vcmd; in nl80211_vendor_cmd() local13586 vcmd = &rdev->wiphy.vendor_commands[i]; in nl80211_vendor_cmd()13588 if (vcmd->info.vendor_id != vid || vcmd->info.subcmd != subcmd) in nl80211_vendor_cmd()13591 if (vcmd->flags & (WIPHY_VENDOR_CMD_NEED_WDEV | in nl80211_vendor_cmd()13595 if (vcmd->flags & WIPHY_VENDOR_CMD_NEED_NETDEV && in nl80211_vendor_cmd()13599 if (vcmd->flags & WIPHY_VENDOR_CMD_NEED_RUNNING) { in nl80211_vendor_cmd()13607 if (!vcmd->doit) in nl80211_vendor_cmd()[all …]