I think there should be a law against waving when the person you are waving to is less than 10 feet away, within hearing distance or unless you are in a large space, or a place where speaking would be inappropriate.
There is a guy at work who literally waves at me and then grins like a Cheshire and then says hello ANYWAY! When someone waves at you it is practically obligatory that you wave back. I don’t want to wave. Please don’t wave at me. If I wave at you it will be with the back of my hand and it will not be pretty.