mesh: Use the shared function with IBSS to determine channel parameters