On newer kernels cfg80211_ops.mgmt_tx takes some parameters via struct cfg80211_mgmt_tx_params pointer.