Hello Ella,
The issue about RegularWifiMac not found could be due to version change. Older ns-3 versions had the RegularWifiMac class, in newer versions, it might not be under same name. Before using/defining any classes/objects, u need to check if thats compatible with your current ns-3 version or not.
About the WifiMac error, when you mention Queue in the connect callback, it means you are trying to access a trace source named Queue under DcaTxop object, and WifiMac class. The Queue trace source might not exist or might be represented under different name.
To find out valid trace sources, u need to go into .h and .cc files under path src/wifi/model.
Let me know if error still persists.
Best,
Kaushika.