PicoScenes API Docs
 
Loading...
Searching...
No Matches
MAC80211Utils.hxx File Reference
#include "ModularPicoScenesFrame.hxx"
#include "SystemTools.hxx"
Include dependency graph for MAC80211Utils.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MAC80211FrontEndUtils
 Namespace containing utility functions for MAC80211 frontend operations.
 

Functions

std::optional< std::string > MAC80211FrontEndUtils::path2Intel5300Debugfs (const std::string &phyId, const std::string &dest)
 Get path to Intel 5300 debugfs entry.
 
std::optional< std::string > MAC80211FrontEndUtils::path2IntelMVMDebugfs (const std::string &phyId, const std::string &dest)
 Get path to Intel MVM debugfs entry.
 
std::optional< std::string > MAC80211FrontEndUtils::path2Ath9kDebugfs (const std::string &phyId, const std::string &dest)
 Get path to Atheros 9k debugfs entry.
 
uint32_t MAC80211FrontEndUtils::getIntelNewMVMRateNFlags4TxFrame (const ModularPicoScenesTxFrame &txframe)
 Get rate and flags for Intel new MVM transmission frame.
 
uint32_t MAC80211FrontEndUtils::getIntelLegacyMVMRateNFlags4TxFrame (const ModularPicoScenesTxFrame &txframe)
 Get rate and flags for Intel legacy MVM transmission frame.
 
uint32_t MAC80211FrontEndUtils::getIntelDVMRateNFlags4TxFrame (const ModularPicoScenesTxFrame &txframe)
 Get rate and flags for Intel DVM transmission frame.
 
bool MAC80211FrontEndUtils::isQCA9300NIC (const std::string &anyId)
 Check if device is a QCA9300 NIC.
 
bool MAC80211FrontEndUtils::isIWL5300NIC (const std::string &anyId)
 Check if device is an IWL5300 NIC.
 
bool MAC80211FrontEndUtils::isIntelMVMTypeNIC (const std::string &anyId)
 Check if device is an Intel MVM type NIC.
 
bool MAC80211FrontEndUtils::isIntelAX200TypeNIC (const std::string &anyId)
 Check if device is an Intel AX200 type NIC.
 
bool MAC80211FrontEndUtils::isIntelAX210TypeNIC (const std::string &anyId)
 Check if device is an Intel AX210 type NIC.
 
bool MAC80211FrontEndUtils::isIntelAX211SubTypeNIC (const std::string &anyId)
 Check if device is an Intel AX211 subtype NIC.
 
bool MAC80211FrontEndUtils::isSupportedHardware (const std::string &anyId)
 Check if device is supported hardware.
 
bool MAC80211FrontEndUtils::isIWL5300UsingCSIFirmware ()
 Check if IWL5300 is using CSI firmware.
 
bool MAC80211FrontEndUtils::isIWLMVMUsingCSIFirmware (const std::string &anyId)
 Check if Intel MVM is using CSI firmware.
 
bool MAC80211FrontEndUtils::isIWLAX210PNVMFileCorrect ()
 Check if Intel AX210 PNVM file is correct.
 
bool MAC80211FrontEndUtils::isIWLAX211PNVMFileCorrect ()
 Check if Intel AX211 PNVM file is correct.
 
std::vector< std::string > MAC80211FrontEndUtils::searchAllCompatibleIntel5300Phys ()
 Search for all compatible Intel 5300 physical interfaces.
 
std::vector< std::string > MAC80211FrontEndUtils::searchAllCompatibleIntelMVMPhys ()
 Search for all compatible Intel MVM physical interfaces.
 
std::vector< std::string > MAC80211FrontEndUtils::searchAllCompatibleAth9kPhys ()
 Search for all compatible Atheros 9k physical interfaces.
 
std::vector< std::string > MAC80211FrontEndUtils::searchAllCompatiblePhys ()
 Search for all compatible physical interfaces.
 
bool MAC80211FrontEndUtils::isDeviceArrayPrepared ()
 Check if device array is prepared.
 
std::optional< std::string > MAC80211FrontEndUtils::anyId2PhyId (const std::string &anyId)
 Convert any ID to physical interface ID.
 
std::optional< std::string > MAC80211FrontEndUtils::devId2PhyId (const std::string &devId)
 Convert device ID to physical interface ID.
 
std::optional< std::string > MAC80211FrontEndUtils::anyId2DevId (const std::string &anyId)
 Convert any ID to device ID.
 
std::optional< std::string > MAC80211FrontEndUtils::anyId2MonId (const std::string &anyId)
 Convert any ID to monitor interface ID.
 
std::optional< std::string > MAC80211FrontEndUtils::anyId2PhyPath (const std::string &anyId)
 Convert any ID to physical interface path.
 
std::array< uint8_t, 6 > MAC80211FrontEndUtils::MACAddress4PhyId (const std::string &phyId)
 Get MAC address for physical interface.
 
std::array< uint8_t, 6 > MAC80211FrontEndUtils::MACAddress4DevId (const std::string &devId)
 Get MAC address for device interface.
 
std::vector< std::string > MAC80211FrontEndUtils::searchNetworkInterfaces4PhyId (const std::string &phyId)
 Search for network interfaces associated with physical interface.
 
std::string MAC80211FrontEndUtils::searchMonId4PhyId (const std::string &phyId)
 Search for monitor interface associated with physical interface.
 
std::string MAC80211FrontEndUtils::searchDevId4PhyId (const std::string &phyId)
 Search for device interface associated with physical interface.
 
std::vector< double > MAC80211FrontEndUtils::systemSupportedChannelFrequencies (const std::string &phyId)
 
const std::vector< std::tuple< int, int, int > > & MAC80211FrontEndUtils::standard2_4_5GHzbandChannelsUpTo40MHzBW ()
 Get standard 2.4/5GHz band channels up to 40MHz bandwidth.
 
const std::vector< std::tuple< int, int, int > > & MAC80211FrontEndUtils::standard2_4_5GHzbandChannelsUpTo160MHzBW ()
 Get standard 2.4/5GHz band channels up to 160MHz bandwidth.
 
const std::vector< std::tuple< int, int, int > > & MAC80211FrontEndUtils::standardChannelsIn2_4_5_6GHzBandUpTo160MHzBW ()
 Get standard channels in 2.4/5/6GHz bands up to 160MHz bandwidth.
 
bool MAC80211FrontEndUtils::isSupportedChannelParametersBy2_4_5GBandHT40RateNIC (double controlFreq, double bw, double centerFreq)
 Check if channel parameters are supported by 2.4/5GHz band HT40 rate NIC.
 
bool MAC80211FrontEndUtils::isSupportedChannelParametersBy2_4_5GBandHE160RateNIC (double controlFreq, double bw, double centerFreq)
 Check if channel parameters are supported by 2.4/5GHz band HE160 rate NIC.
 
bool MAC80211FrontEndUtils::isSupportedChannelParametersBy2_4_5_6GBandHE160RateNIC (double controlFreq, double bw, double centerFreq)
 Check if channel parameters are supported by 2.4/5/6GHz band HE160 rate NIC.