wifi6 Linux driver - 7 - mac80211 - net/wireless


續前篇 HE - 2

修正後, 接下來遇到 reg_query_regdb_wmm()
這和這個 patch:  cfg80211: Add API to allow querying regdb for wmm_rule 有關

 +/**
+ * reg_query_regdb_wmm -  Query internal regulatory db for wmm rule
+ * Regulatory self-managed driver can use it to proactively
+ *
+ * @alpha2: the ISO/IEC 3166 alpha2 wmm rule to be queried.
+ * @freq: the freqency(in MHz) to be queried.
+ * @dbptr: pointer where the regdb wmm data is to be stored (or %NULL if
+ * irrelevant). This can be used later for deduplication.
+ * @rule: pointer to store the wmm rule from the regulatory db.
+ *
+ * Self-managed wireless drivers can use this function to  query
+ * the internal regulatory database to check whether the given
+ * ISO/IEC 3166 alpha2 country and freq have wmm rule limitations.
+ *
+ * Drivers should check the return value, its possible you can get
+ * an -ENODATA.
+ *
+ * Return: 0 on success. -ENODATA.
+ */
+int reg_query_regdb_wmm(char *alpha2, int freq, u32 *ptr,
+   struct ieee80211_wmm_rule *rule);
+

ISO/IEC 3166 是定義 國家/地區 代碼 - wiki

--
pci_disable_link_state

可以參考這個 patch - PCI/ASPM: add L1 sub-state support to pci_disable_link_state


--
cfg80211_ftm_responder_stats

可以參考這個 patch - cfg80211: support FTM responder configuration/statistics

--
cfg80211_pmsr_capability

可以參考這個 patch - cfg80211: add peer measurement with FTM initiator API


最後決定把 v5.4 的  net/wireless 弄進來看看..

待續




留言

熱門文章