A method for controlling data traffic in a wireless local area network (WLAN), comprising: determining respective data traffic class priority levels for data packets of wireless stations communicating with a wireless access point; calculating wireless traffic load on the WLAN in dependence on wireless station data rates and modulation rates; and for a wireless station, setting a traffic flow control limit in dependence on the wireless station data traffic class priority level and the calculated wireless traffic load; wherein the setting comprises reducing a traffic flow control limit when the wireless traffic load is above a threshold level, and increasing the traffic flow control limit when the wireless traffic load is below the threshold level, characterised by: for each of the wireless stations: determining a user priority level for a user of the wireless station, wherein said user priority level comprises information as to whether a user is a public user or a private user, where the private users are users that access the wireless access point using an encrypted connection using security protocols; and wherein the traffic flow control limit is further set in accordance with the determined user priority level for that wireless station, wherein the traffic flow control limit is set in dependence on the information as to whether a user is a public user or a private user. determining respective data traffic class priority levels for data packets of wireless stations communicating with a wireless access point; calculating wireless traffic load on the WLAN in dependence on wireless station data rates and modulation rates; and for a wireless station, setting a traffic flow control limit in dependence on the wireless station data traffic class priority level and the calculated wireless traffic load; wherein the setting comprises reducing a traffic flow control limit when the wireless traffic load is above a threshold level, and increasing the traffic flow control limit when the wireless traffic load is below the threshold level, characterised by: for each of the wireless stations: determining a user priority level for a user of the wireless station, wherein said user priority level comprises information as to whether a user is a public user or a private user, where the private users are users that access the wireless access point using an encrypted connection using security protocols; and wherein the traffic flow control limit is further set in accordance with the determined user priority level for that wireless station, wherein the traffic flow control limit is set in dependence on the information as to whether a user is a public user or a private user. determining a user priority level for a user of the wireless station, wherein said user priority level comprises information as to whether a user is a public user or a private user, where the private users are users that access the wireless access point using an encrypted connection using security protocols; and wherein the traffic flow control limit is further set in accordance with the determined user priority level for that wireless station, wherein the traffic flow control limit is set in dependence on the information as to whether a user is a public user or a private user.