wifi: API adjustments to work with pybindgen
Recent wifi module commits have broken the automated pybindgen API scanning. This merge request makes two small API changes to work around the limitations; they do not affect user code.
- the enum type
WifiCodeRate
cannot be included in an ns-3 Callback inwifi-mode.h
:
typedef Callback<WifiCodeRate> CodeRateCallback;
- pybindgen could not handle this helper method (and similar) such as in
erp-ofdm-phy.cc
:
static std::map<uint16_t, std::vector<uint64_t> > GetOfdmRatesBpsList (void);
I should be able to rescan the APIs if this patch is accepted.